Video Player with HTML 5

June 16, 2009 by J.P.

With some of the latest browsers supporting HTML 5 I thought I go ahead and take a stab at trying to create a very basic video player using some of the new tags. What’s interesting is many times when flash would be needed for video and audio HTML 5 will be able to support such media types with just a little JS.

Here is a sample player using HTML 5 (Note this is at a very early stage and only has play/pause functionality).

wildthingshtml5

<div id="myVideoContainer">
<video id="myVideo" src="../videos/WheretheWildThingsAre.mov" autoplay="autoplay">
<p>Sorry Your Browser Doesn't Support HTML 5. Safari 4 will support this video player, download it here</p>
</video>
</div>

Related information:


No Comments

No comments, It's quiet in here, only echos exist. To the north is a white mailbox.

RSS feed for comments on this post. TrackBack URL

Leave a comment