🎬 HTML Video

👋 FYI, this note is over 6 months old. Some of the content may be out of date.
On this page
<video width="640" height="360" controls>
<!-- MP4 must be first for iPad! -->
<source src="__VIDEO__.mp4" type="video/mp4" />
<!-- Safari / iOS video -->
<source src="__VIDEO__.ogv" type="video/ogg" />
<!-- Firefox / Opera / Chrome10 -->
</video>
<!-- you *must* offer a download link as they may be able to play the file locally. customise this bit all you want -->
<p>
<strong>Download Video:</strong> Closed Format:
<a href="__VIDEO__.MP4">"MP4"</a> Open Format:
<a href="__VIDEO__.OGV">"Ogg"</a>
</p>

Autoplay Jump to heading

Embedding YouTube/Vimeo etc Jump to heading

YouTube Jump to heading

https://developers.google.com/youtube/player_parameters#Manual_IFrame_Embeds

Vimeo Jump to heading

https://vimeo.zendesk.com/hc/en-us/articles/360001494447-Using-Player-Parameters

Useful npm packages Jump to heading


← Back home