I. Introduction of Jwplayer
JW Media Player is an open source Flash video, audio, and image player for use on a Web page that supports sliverlight playback, An XML file allows the player to automatically toggle the display of a set of pictures and play back the background music. It supports playback of Adobe Flash player and HTML5 browser which can handle any format (FLV files, H. MP4 features, VP8, WEBM, support mp3,aac,jpg,png and GIF).
It also supports a variety of streaming and playlist formats (including RTMP protocol, HTTP Live and more) and a variety of playback options. and supporting all major CDN and adaptive bitrate switching means you can deliver high-quality content around the world.
JW player is a very good web media Player with support for H. MP4,. mov,. F4V, FLV (. flv), 3GPP (. 3gp,. 3g2), OGG Theora (. ogv), WebM (. WebM) Video formats, MP3 (. mp3), AAC (. AAC,. m4a), Ogg Vorbis (. ogg), WAV (. wav) audio, and SWF and picture (gif, JPG, PNG), and YouTube video formats are also supported.
Second, the code introduction
1<div id="Container">2Loading the player ...</div>3<script src="Videotest/jwplayer.js"Type="Text/javascript"></script>4<script type="Text/javascript">5Jwplayer ("Container"). Setup ({6Autostarttrue,7Flashplayer:"/videotest/pl.swf",8ControlBar:'Bottom',9Height the,TenWidth the, OneImage"/videotest/testvideo.jpg", AFile'<%=newInfoHtml%>' - }); -</script>
Web Player Plugin