Web page play Audio Jquery.jplayer plugin

Source: Internet
Author: User

<! DOCTYPE html>

<title>demo:jplayer as an audio player</title>

<meta http-equiv= "Content-type" content= "text/html; Charset=utf-8 "/>


<link stc= "Js/jplayer.blue.monday.css" rel= "stylesheet" type= "Text/css"/>


<script type= "Text/javascript" src= "Js/jquery-1.7.2.js" ></script>

<script type= "Text/javascript" src= "Js/jquery.jplayer.min.js" ></script>

<script type= "Text/javascript" >

<! [cdata[

$ (document). Ready (function () {


$ ("#jquery_jplayer_1"). Jplayer ({

Ready:function () {

$ (this). Jplayer ("Setmedia", {

MP3: "Paomo.mp3"

}). Jplayer ("Play");

},

Ended:function (event) {

$ (this). Jplayer ("Play");

},

Swfpath: "JS",

Supplied: "mp3"

});

});

]]>

</script>


<body>

<div id= "jquery_jplayer_1" class= "Jp-jplayer" ></div>


<div class= "Jp-audio" >

<div class= "Jp-type-single" >

<div id= "Jp_interface_1" class= "Jp-interface" >

<ul class= "Jp-controls" >

<li><a href= "#" class= "Jp-play" tabindex= "1" >play</a></li>

<li><a href= "#" class= "Jp-pause" tabindex= "1" >pause</a></li>


<li><a href= "#" class= "Jp-stop" tabindex= "1" >stop</a></li>

<li><a href= "#" class= "Jp-mute" tabindex= "1" >mute</a></li>

<li><a href= "#" class= "Jp-unmute" tabindex= "1" >unmute</a></li>

</ul>

<div class= "Jp-progress" >

<div class= "Jp-seek-bar" >

<div class= "Jp-play-bar" ></div>


</div>

</div>

<div class= "Jp-volume-bar" >

<div class= "Jp-volume-bar-value" ></div>

</div>

<div class= "Jp-current-time" ></div>

<div class= "Jp-duration" ></div>

</div>

<div id= "jp_playlist_1" class= "Jp-playlist" >


<ul>

<li>Bubble</li>

</ul>

</div>

</div>

</div>

</body>

The required JS and CSS files can be found on the official website jquery.jplayer.min.js and JPLAYER.BLUE.MONDAY.CSS

Web page play Audio Jquery.jplayer plugin

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.