Tuesday 30 September 2014

Play any video in HTML in IE.

"Play any kind of video ".
I was working on IE-8. Here is the code I use to integrate video in my page.
Example:

<html>
<body>
<link href="//releases.flowplayer.org/5.5.0/skin/minimalist.css" rel="stylesheet"></link>
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="//releases.flowplayer.org/5.5.0/flowplayer.min.js"></script>
<div class="flowplayer">
   <video>
      <source src="http://www.W3Schools.com/tags/movie.mp4" type="video/mp4"></source>
   </video>
</div>
</body>
</html>

No comments:

Post a Comment