Basically I'm super close to making my Video Uploader work, I also put the Video Upload Limit to 250 MB and now I need help to make this work, basically I'm using an HTML Component to host the Uploader and I need to send the videos to the Database where I'm hosting Video Uploads, also the Video Player is my own and I'm using an HTML Component for that as well, so my question is, How can I send/receive a Video to/from my Database into both Components and it also supports Thumbnails for the video player.
here's some code I was trying to get to work with the Video Uploader
$w.onReady(function () { // when a message is received from the HTML element $w("#html1").onMessage( (event) => { $w("#video1").video = event.data; } ); } ); export function messageSendButton_onClick() { // send message to the HTML element ("#html1").postMessage($w("#video").value); }
@Code Queen Nayeli Thanks for responding. @James Rondon Jr I will remove the comments from the general post that led us here.
Found your question.
First .... video files are supported only via the media manager (which only the site owner/contributors have access to). So to set a video field --- it would have to be done directly from the database collection.
You can set any compatible video URL to be connected to the video player. You can test to see if your hosted video URL is compatible by adding a bit of code. (For example, YouTube links are compatible) Read here: https://www.wix.com/code/reference/$w.Video.html#videoUrl
Regarding passing information via the HTML component --- would depend on your HTML code that you are using and/or API that you are using. You can read about an example here: https://support.wix.com/en/article/wix-code-working-with-the-html-element
It may not be the answer you are looking for, but I hope it points you in the right direction.