Skip to content

Instantly share code, notes, and snippets.

@lin04com
Forked from anonymous/gist:672999
Created March 12, 2013 16:38
Show Gist options
  • Save lin04com/5144486 to your computer and use it in GitHub Desktop.
Save lin04com/5144486 to your computer and use it in GitHub Desktop.
<body>
<video width="640" height="360" controls autoplay>
<!-- Adaptive Bitrate streaming -->
<source scr="http://www.url.to/video.m3u8" type="application/x-mpegURL" />
<source src="http://www.url.to/video.mp4" type="video/mp4" />
<source src="http://www.url.to/video.webm" type="video/webm" />
<source src="http://www.url.to/video.ogg" type="video/ogg" />
<object type="application/x-shockwave-flash" data="player.swf" width="640" height="360">
<param name="movie" value="player.swf" />
<param name="allowscriptaccess" value="never" />
<param name="flashvars" value="autostart=true&amp;controlbar=over&amp;image=images/poster.jpg&amp;file=http://www.url.to/video.mp4" />
<img src="images/poster.jpg" alt="No video playback capabilities, please download the video below" />
</object>
</video>
<p>Download the video <a href="http://www.url.to/video.mp4">(mp4)</a> <a href="http://www.url.to/video.ogg">(ogg)</a></p>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment