Friday, 2 September 2011

how to add videos in your application using HTML5 ?

<body>
<video controls="controls" >
  <source src="http://clips.vorwaerts-gmbh.de/VfE_html5.mp4"
  type="video/mp4" /><!-- Safari / iOS, IE9 -->
  <source src="http://clips.vorwaerts-gmbh.de/VfE.webm"
  type="video/webm" /><!-- Chrome10+, Ffx4+, Opera10.6+ -->
  <source src="http://clips.vorwaerts-gmbh.de/VfE.ogv"
  type="video/ogg"  /><!-- Firefox3.6+ / Opera 10.5+ -->
</video>
</body>

No comments:

Post a Comment