Below is a <video> element created with two Webflow DOM elements in order to render a background video from any external source. To update the video source, locate the child Source element of the video in the navigator and edit its src attribute value to the URL of your external video.
For improved accessibility, there is also a custom play/pause button in the lower corner, run by the custom code in the page settings. The custom code will support multiple instances of videos on the page.
Tags from Webflow:
video, video background, accessibility, domelement
The best Webflow projects handpicked & delivered.
We search the entire Webflow showcase to find the most clone-worthy websites. The kind of sites that make you say "wait... this is free?"
Unsubscribe anytime. No spam.
Booyah! The first newsletter will go out early next week.
Oops! Something went wrong while submitting the form.
0 Comments