Detailed parameters to query MSDN
Http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay/mmp_sdk/settingsobject.asp
<! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 transitional//en" >
<link href= "Style/style.css" rel= "stylesheet" type= "Text/css" >
<script language= "JavaScript" >
var state;
Class
function Playerinit ()
{
Player.url= "mp3.m3u";
Player.settings.autoStart = false;
}
Play
function Play ()
{
if (player.controls.isavailable (' play '))
{
Player.controls.play ();
State=setinterval ("UpdateTime ()", 1000);
playerinfo.innerhtml = "Play";
}
}
Time out
function Pause ()
{
if (player.controls.isavailable (' pause '))
{
Player.controls.pause ();
Clearinterval (state);
playerinfo.innerhtml = "Pause";
}
}
Stop it
function Stop ()
{
if (player.controls.isavailable (' Stop '))
{
Player.controls.stop ();
Clearinterval (state);
playerinfo.innerhtml = "Stop";
}
}
Former head
function Previous ()
{
if (player.controls.isavailable (' previous '))
{
Player.controls.previous ();
playerinfo.innerhtml = "the first one";
}
}
After the first
function Next ()
{
if (player.controls.isavailable (' Next '))
{
Player.controls.next ();
playerinfo.innerhtml = "Next song";
}
}
?
function Step ()
{
if (player.controls.isavailable (' Step '))
Player.controls.step (1);
}
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