HTML 5 Audio and Video done simple

You don't need to have a plugin to handle video and with the introduction of Apple devices that do not accept flash, we need an alternative.

Try this code when you want a compliant video audio player that will work across all platforms. (Older browsers will ignore this code.)
<video>
<video width="320" height="240" controls>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>

You can also test this on a live environment before using it on your own site.  Just click below on the link:
http://www.w3schools.com/html/tryit.asp?filename=tryhtml5_video_bear

Comments are closed.