Streaming live at 10am (PST)

Fullpage.js and webflow's background video element


I want to use the fullpage.js with webflow’s background video element. I’ve had a play around in webflow but it doesn’t seem to work.

I have a div with id “fullpage”
Inside are more divs with the class “section”.
I added a bg video element and gave that the class “section”.

Link to the webflow site.

Link to the published site so you can see the fullpage.js working. (I don’t think the share link allows that?)

Any ideas?

Edit: I’ve just realised the bg video element is a video tag, so I’ve nested that into a div with a “section” class. Now the video is fullscreen and is working with the scrolling but it doesn’t play.


Hi Sam,

Thanks for your response. The webflow bg video element has autoplay data variable reserved when I try to add a custom attribute. In the code the video tag has autoplay=autoplay. According to your link, I need to set autoplay=1 or add data-autoplay but the webflow bg video element doesn’t allow me to do that. Maybe I might have to just stop using webflow.


I’m not sure why Webflow would restrict certain attributes from elements. The workaround now is to use embed code to insert your own video element code.

I was hoping that wouldn’t be the case. Thanks for your help.