Skip to content

Instantly share code, notes, and snippets.

@techphoria414
Last active December 22, 2015 01:48
Show Gist options
  • Save techphoria414/6398764 to your computer and use it in GitHub Desktop.
Save techphoria414/6398764 to your computer and use it in GitHub Desktop.
HTML5 Video Tag with mp4 and webm
<video id="video-player" class="video-js vjs-default-skin"
controls preload="auto" width="640" height="360"
poster="poster.jpg"
data-setup=''>
<source src="test_01_720.webm" type='video/webm' />
<source src="test_01_720.mp4" type='video/mp4' />
</video>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment