Posted By

simantic on 01/17/11


Tagged


Versions (?)

Embedding HTML5 video for Chrome


 / Published in: HTML
 

Of course you can specify individual codecs within the type attribute.

  1. <video>
  2. <source src="movie.mp4" type="video/mp4" /> <!-- safari, ie, et al -->
  3. <source src="movie.webm" type="video/webm" /> <!-- chrome, firefox, opera -->
  4. </video>

Report this snippet  

You need to login to post a comment.