¿¤·¹¸àÆ®°¡ È°¼º ÁßÀ̰ųª ÇöÀç ½Ã°£»óÅ¿¡¼ À¯ÁöµÇ´Â°¡¸¦ ºÎ¿ï°ªÀ¸·Î ¹ÝȯÇÑ´Ù.
¼Ó¼º°ªÀº ¿¤·¹¸àÆ® ½Ã°£ÀÌ È°¼º ÁßÀΰ¡¸¦ ³ªÅ¸³»´Â ºÎ¿ï°ªÀÌ´Ù.
true | ¿¤·¹¸àÆ®°¡ È°¼º Áß À̰ųª ÀÚü°¡ ³¡³ª ½Ã°£¿ë±â°¡ Á¾·áµÉ °ÍÀ» ±â´Ù¸®¸é Àӽà ÁßÁöµÈ »óÅ¿¡ ÀÖ´Ù. |
false | µðÆúÆ®ÀÌ¸ç ¿¤·¹¸àÆ®°¡ È°¼ºÀ̰ųª ½Ã°£»óÅ¿¡ ÀÖÁö ¾Ê´Ù. |
ÀÌ ¼Ó¼ºÀº ÀбâÀü¿ëÀ¸·Î µðÆúÆ®°ªÀº falseÀÌ´Ù.
¿¤·¹¸àÆ®´Â fill ¾ÖÆ®¸®ºäÆ®°¡ freeze³ª hold·Î ¼³Á¤µÇ¾î ¸¶Áö¸·ÀÌ À¯ÁöµÇ¾î¾ß ÇÑ´Ù.
ÀÌ ¼Ó¼ºÀº state ¼Ó¼º ¹Ýȯ°ª 4¿¡ ÇØ´çÇÑ´Ù.
¿¤·¹¸àÆ®°¡ ¸¶Áö¸· À¯Áö(hold) »óÅ¿¡ ÀÖ´Â °ÍÀº È°¼º ÁßÀÌ ¾Æ´Ï´Ù.
ºñÈ°¼º »óÅ¿¡¼´Â À̺¥Æ®¸¦ ¹ß»ýÈ÷Å°Áö ¸øÇÏ°í ¹ÝÀÀµµ ÇÒ ¼ö ¾ø´Ù.
°³Ã¼ | script | HTML | ±Ô°Ý | IE |
---|
ÀÌ ¼Ó¼ºÀº (¿µ¹®)SMIL 2.0(Synchronized Multimedia Integration Language)¿¡ Microsoft°¡ È®ÀåÇÑ °ÍÀÌ´Ù.
<HTML xmlns:t="urn:schemas-microsoft-com:time"> <HEAD> <IMPORT namespace="t" implementation="#default#time2"> <STYLE>.time{ behavior: url(#default#time2);}</STYLE> <SCRIPT> function checkIsMuted(){ showA.innerText=mediaObj.currTimeState.isMuted; showB.innerText=mediaObj.volume; showC.innerText=mediaObj.currTimeState.isOn; showD.innerText=mediaObj.currTimeState.isActive; } </SCRIPT> </HEAD> <BODY> <T:media id="mediaObj" begin="indefinite;" src="http://msdn.microsoft.com/workshop/samples/author/behaviors/media/movie.avi" fill="remove"/><BR> mediaObj.currTimeState.isMuted=<SPAN id="showA" style=color:blue></SPAN><BR> mediaObj.volume=<SPAN id="showB" style=color:blue></SPAN><BR> mediaObj.currTimeState.isOn=<SPAN id="showC" style=color:blue></SPAN><BR> mediaObj.currTimeState.isActive=<SPAN id="showD" style=color:blue></SPAN><BR> <BUTTON id="buexcObj" onclick="mediaObj.beginElement();checkIsMuted();">¹Ìµð¾î ½ÃÀÛ</BUTTON> <BUTTON id="but2" onclick="mediaObj.endElement();checkIsMuted();">¹Ìµð¾î ÁßÁö</BUTTON><BR> <B>¼Ò¸® Á¶Àý</B> <INPUT type="radio" name="rdo1" onpropertychange="mediaObj.mute='true';checkIsMuted();">¼Ò¸® ²ô±â <INPUT type="radio" name="rdo1" onpropertychange="mediaObj.mute='false';mediaObj.volume=100;checkIsMuted();">À½·® 100% <INPUT type="radio" name="rdo1" onpropertychange="mediaObj.mute='false';mediaObj.volume=50;checkIsMuted();" checked>À½·® 50%</BODY> </HTML>