What I do in webflow:
make a section
add an embed object into that section
and then insert a code like in the site i showed.
<video id="video" loop="" muted="" autoplay="" >
<source src="http://studio-t.ws/neta/advocate2/assets/3369428_resize.mp4" type="video/mp4">
<source src="http://studio-t.ws/neta/advocate2/assets/3369428_resize.webm" type="video/webm">
This browser does not support HTML5 video
</video>
hi guys, maybe i’m missing something but i’m not sure how you get a video which is saved on your computer or youtube and give it a url which then allows it to be embedded?
Hi @George_Papadamou, thanks for the post. You would put your video urls for each file format in the “src” attribute:
i.e. the example below with all three needed formats to work across all browsers. If you do not have the .webm or .ogv versions, you can create those using most editing tools. On Mac I usually use Miro Video converter for the .ogv and .webm versions. That is up to you
Thank you for your help, but i wasn’t sure how you actually get a url for a video.
For example, i have a video saved on my computer and on youtube, what would the url for this video be? do i need to host it on a server? and if so do you know how this is done? Ive already tried pasting the youtube url into the src= but that doesnt work!
sorry i’m a beginner and this is probably really obvious to other people! I really appreciate your help!
If you want to host your own video, you can upload your video to Dropbox, and then get a share link to that file on Dropbox and use it as the source.
Webflow does not support video file uploads yet, but in a future version of the Asset Manager
If you use Dropbox, after you upload the files and create the share link to those, you can post the link and we can check if the video is showing up Cheers,
Dave
Hi @George_Papadamou, if you use the Youtube default embeds, they include the play button and the branding, thus it is quite usual for people to NOT use youtube for video backgrounds.
I would recommend the dropbox route or other file storage online, to upload your own videos and load those from that storage.
Let me know if you have any questions. It would help for you to start a new post, with the read-only link to your site and the video urls you are trying to use cheers, Dave