volume, mute, isMuted, speed ¼Ó¼º ¿¹Á¦
°á°ú Ç¥½Ãâ
<HTML xmlns:t="urn:schemas-microsoft-com:time"> <HEAD> <IMPORT namespace="t" implementation="#default#time2"> <STYLE>.time{ behavior: url(#default#time2);}</STYLE> <SCRIPT> function showAll(){ if (i1[0].checked) mdaObj.mute=true; else mdaObj.mute=false; str='mdaObj.volume='+mdaObj.volume+'<BR>'; str+='mdaObj.currTimeState.volume='+mdaObj.currTimeState.volume+'<BR>'; str+='mdaObj.mute='+mdaObj.mute+'<BR>'; str+='mdaObj.currTimeState.isMuted='+mdaObj.currTimeState.isMuted+'<BR>'; str+='mdaObj.speed='+mdaObj.speed+'<BR>'; str+='mdaObj.currTimeState.speed='+mdaObj.currTimeState.speed+'<BR>'; str+='mdaObj.currTimeState.isOn='+mdaObj.currTimeState.isOn+'<BR>'; str+='mdaObj.currTimeState.isActive='+mdaObj.currTimeState.isActive+'<BR>'; showA.innerHTML=str; } </SCRIPT> </HEAD> <BODY onload="showAll()"> <T:media id="mdaObj" begin="indefinite;" src="../../../media/AVITest.avi" volume="25" onmediacomplete="mdaObj.beginElement();" onbegin="showAll()" fill="hold"/><BR> <DL style="border:solid 1 blue"> <DT> <DD><BUTTON id="b0" onclick="showAll()">¸Þµð¾î ½ÃÀÛ</BUTTON> <BUTTON id="b3" onclick="mdaObj.endElement();">¸Þµð¾î ÁßÁö</BUTTON><BR> <DT>¼Ò¸® Á¦¾î <DD><INPUT type="radio" name="i1" onpropertychange="showAll()">¼Ò¸® ²ô±â <INPUT type="radio" name="i1" onpropertychange="mdaObj.volume=0;showAll()">volume=0%<BR> <INPUT type="radio" name="i1" onpropertychange="mdaObj.volume=25;showAll()" checked>volume=25% <INPUT type="radio" name="i1" onpropertychange="mdaObj.volume=50;showAll()">volume=50% <INPUT type="radio" name="i1" onpropertychange="mdaObj.volume=75;showAll()">volume=75% <INPUT type="radio" name="i1" onpropertychange="mdaObj.volume=100;showAll()">volume=100% <DT>¼Óµµ Á¦¾î <DD> <INPUT type="radio" name="i2" onpropertychange="mdaObj.speed=0;showAll()">speed=0%(¹«È¿) <INPUT type="radio" name="i2" onpropertychange="mdaObj.speed=.25;showAll()">speed=25% <INPUT type="radio" name="i2" onpropertychange="mdaObj.speed=.50;showAll()">speed=50% <INPUT type="radio" name="i2" onpropertychange="mdaObj.speed=.75;showAll()">speed=75% <INPUT type="radio" name="i2" onpropertychange="mdaObj.speed=1;showAll()" checked>speed=100% </DL> <DIV id=showA>°á°ú Ç¥½Ãâ</DIV> </BODY> </HTML> |