VideoUploader component development done

  • 249 Views
  • Last Post 08 May 2022
Fighter posted this 08 May 2022

The development of our video uploader component is complete.

I deleted that thread used for development and testing of this component.

Demo for video uploaded on the server:

The reason we developed it is very simple: TinyMCE (the rich text editor we use for posting) have a video uploader plugin but that is Premium feature so in order to have it we should pay a TinyMCE licence and the price of the licences starts from about 80$ paid every month. It's not worth it to pay those money as long as we could develop our own component.

It was necessary to analyze the technologies and the mechanisms TinyMCE is using under the hood in order to attach our customized component to it, it took some time but the result deserved the effort.

Now some details.

For now it's accepting only MP4 files, we could extend it if necessary to accept other video formats.

The video is not resizable. That's on purpose, when inserting a video in a post we're programatically setting it to 100% width and 100% height so it's adapting its size to how big the screen size of visitor's device is, no matter if it's a computer or a mobile phone.

I'm thinking we should extend that behavior on the inserting image functionality (disabling images resizing functionality and programatically setting images to 100% width and 100% height) so all images will auto-resize themselves based on visitor's screen size. I'll need to discuss with Cd_Sharp this to find his opinion about this change.

The maximum size of the uploaded videos is 300MB, we can change the limit if necessary but we should keep in mind the server's space is about 40GB SSD space so we shouldn't upload any video we find on internet. I can make more space and get an additional 10-20GB but still the space will continue to be limited.

The purpose of the video uploading feature is to upload videos we don't want to upload on YouTube. Basically videos of our own devices and experiments which (for safety resons) we don't want to share with public servers.

So please don't upload movies, documentaries etc. which can be uploaded on YouTube, upload them on YouTube and just post them here as external videos.

For now consider the video uploader feature as being still in testing mode, if you find any bug or think something should be changed in its behavior please let us know and we'll fix/change it.

Regards,

Fighter

"If you want to find the secrets of the universe, think in terms of energy, frequency and vibration."
Nikola Tesla
Fighter posted this 08 May 2022

The development of our video uploader component is complete.

I deleted that thread used for development and testing of this component.

Demo for video uploaded on the server:

The reason we developed it is very simple: TinyMCE (the rich text editor we use for posting) have a video uploader plugin but that is Premium feature so in order to have it we should pay a TinyMCE licence and the price of the licences starts from about 80$ paid every month. It's not worth it to pay those money as long as we could develop our own component.

It was necessary to analyze the technologies and the mechanisms TinyMCE is using under the hood in order to attach our customized component to it, it took some time but the result deserved the effort.

Now some details.

For now it's accepting only MP4 files, we could extend it if necessary to accept other video formats.

The video is not resizable. That's on purpose, when inserting a video in a post we're programatically setting it to 100% width and 100% height so it's adapting its size to how big the screen size of visitor's device is, no matter if it's a computer or a mobile phone.

I'm thinking we should extend that behavior on the inserting image functionality (disabling images resizing functionality and programatically setting images to 100% width and 100% height) so all images will auto-resize themselves based on visitor's screen size. I'll need to discuss with Cd_Sharp this to find his opinion about this change.

The maximum size of the uploaded videos is 300MB, we can change the limit if necessary but we should keep in mind the server's space is about 40GB SSD space so we shouldn't upload any video we find on internet. I can make more space and get an additional 10-20GB but still the space will continue to be limited.

The purpose of the video uploading feature is to upload videos we don't want to upload on YouTube. Basically videos of our own devices and experiments which (for safety resons) we don't want to share with public servers.

So please don't upload movies, documentaries etc. which can be uploaded on YouTube, upload them on YouTube and just post them here as external videos.

For now consider the video uploader feature as being still in testing mode, if you find any bug or think something should be changed in its behavior please let us know and we'll fix/change it.

Regards,

Fighter

"If you want to find the secrets of the universe, think in terms of energy, frequency and vibration."
Nikola Tesla
cd_sharp posted this 08 May 2022

Awesome, thank you!

If you know how to build such a device and you're not sharing, you're a schmuck! - Graham Gunderson

Close