Skip to content

Instantly share code, notes, and snippets.

@pmeissner
Created July 2, 2014 12:06
Show Gist options
  • Save pmeissner/cc749ed3a0738bfc3eb6 to your computer and use it in GitHub Desktop.
Save pmeissner/cc749ed3a0738bfc3eb6 to your computer and use it in GitHub Desktop.
looping video with mutiple sources and thumbnail
<video autoplay loop poster="img/video_thumbnail.jpg">
<source src="/media/original/mp4_video.mp4" type="video/mp4">
<source src="/media/original/webm_video.webm" type="video/webm">
<source src="/media/original/ogg_video.ogv" type="video/ogg">
</video>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment