HTML5 player demo with low version IE often people are used to playing network video audio with SWF player
HTML5 has brought us a lot of surprises, with the new audio and video tags added to make it easier for us to play the audios and videos in our web pages. The video tag is good, but it can't be used in older versions of IE. So the general still use Flash Player to play the video, for example, the video code of the Youku station's insertion is as follows:
<embed src= "http://player.youku.com/player.php/sid/XNjgwMDU5MDU2/v.swf" allowfullscreen= "true" quality= "high" Width= "480" height= "align=" Middle "allowscriptaccess=" Always "type=" Application/x-shockwave-flash "></ Embed>
But what about having a good SWF player on hand? This site gives a good plug-in: http://html5media.info/
Html5media is a JavaScript class library that allows these two tags to be fully compatible with older versions of IE browsers.
Html5media is a very strong JavaScript class library that does not rely on any JavaScript framework. After using Html5media, when the browser does not support HTML5, it will automatically switch to flash mode flowplayer player . Although, there are many web players, but the processing code is not concise.
Use Html5media to enable IE6/7/8 browser to support HTML5 audio and video tags
1, first in the head section of the page to add the following script
<script src= "Http://api.html5media.info/1.1.6/html5media.min.js" ></script>
You can only load this JS script in the old version of IE by using the IE conditional annotation method.
2. Then you can add audio or video to it.
<!--video Media label--><video src= "Uiej.com.mp4" width= "" "height=" Controls preload></video><!-- Audio Media label--><audio src= "Uiej.com.mp3" Controls preload></audio>
This allows you to use the audio and video tags in IE8, even the old IE6 browser.
3. Demo page
such as this type of JS project that does not support HTML5 tags, will be more and more with the advantages of HTML5 browser and HTML5.
Video audio is played in the low version Ie6/7/8 browser using HTML5 's audio and video tags