Cross-browser compatible HTML5 video/audio players and html5 video/audio players
HTML5 video and audio tags are used to add video and audio tags to webpages, in html5 browsers, you can easily and quickly play video and audio files without loading the Adobe Flash browser plug-in advance. Html5media. js can enable the video and audio labels to take effect on browsers that do not support html5.
Use html5media. javascript allows you to watch html5 videos and audio files in all browsers. It makes up for the fact that earlier versions of IE do not support <video> and <audio> labels. You only need to load html5media. js uses the <video> and <audio> tags to play videos and audios across browsers.
How to use it?
To enable the html5 video and audio tags to work on all browsers, you must add the following line of code inside the head of the page:
<Script src = "// api.html5media.info/1.1.8/html5media.min.js"> </script>
Then you can use the following code to add a video:
<Video src = "video.mp4" width = "320" height = "200" controls preload> </video>
You can also use the following code to add an audio clip:
<Audio src = "audioaudio" controls preload> </audio>
: Http://www.shouce.ren/post/d/id/320