Enable HTML5 video and audio tags in all major browsers

To make HTML5 video and audio tags work in all major browsers, simply add the following line of code somewhere in the <head> tag of your page.

<script src="http://api.html5media.info/1.1.4/html5media.min.js"></script>

How to embed video

You can embed video into your page using the following code.

<video src="video.mp4" width="320" height="200" controls preload></video>

Video Demo





How to embed audio

You can embed audio into your page using the following code.
<audio src="audio.mp3" controls preload></audio>

Audio Demo





 
logo_banner