<video> Tag Example

Note that these examples will not load in the Visual Studio Code preview!
You will need to view them in a browser to interact with them.

Here is an video example with a src in the opening tag

Here is an video example with multiple <source> children

Here is an video example that loops

Here is an video example that enables autoplay but mutes the audio

(Don't enable autoplay without muting audio! It is very bad practice to play sounds without the user's action or consent.)

Here is an video example with a "poster" image before playback

Here is an video example with a "poster" that has been resized with CSS

If you don't set the controls attribute, the <video> tag will load, but you can't control it without Javascript.

(c) copyright 2008, Blender Foundation / www.bigbuckbunny.org