Created
November 11, 2010 19:05
-
-
Save anonymous/672999 to your computer and use it in GitHub Desktop.
HTML5 video with Adaptive Bitrate based on Video For Everybody
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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&controlbar=over&image=images/poster.jpg&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