Posted By

brianyang on 09/10/10


Tagged


Versions (?)

html5 video fallback


 / Published in: HTML
 

  1. <video id="movie" width="320" height="240" preload controls>
  2. <source src="cdmMovie.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' />
  3. <source src="cdmMovie.webm" type='video/webm; codecs="vp8, vorbis"' />
  4. <source src="cdmMovie.ogv" type='video/ogg; codecs="theora, vorbis"' />
  5. <object width="320" height="240" type="application/x-shockwave-flash" data="flowplayer-3.2.1.swf">
  6. <param name="movie" value="flowplayer-3.2.1.swf" /><param name="allowfullscreen" value="true" />
  7. <param name="flashvars" value='config={
  8. "clip": {"url": "http://wearehugh.com/dih5/good/bbb_480p.mp4",
  9. "autoPlay":false, "autoBuffering":true}}' />
  10. <p>
  11. Download video as
  12. <a href="pr6.mp4">MP4</a>,
  13. <a href="pr6.webm">WebM</a>, or
  14. <a href="pr6.ogv">Ogg</a>
  15. </p>
  16. </object>
  17. </video>

Report this snippet  

You need to login to post a comment.