¿¤·¹¸àÆ®°¡ È°¼º ÁßÀ̰ųª ÇöÀç ½Ã°£»óÅ¿¡¼­ À¯ÁöµÇ´Â°¡¸¦ ºÎ¿ï°ªÀ¸·Î ¹ÝȯÇÑ´Ù.

Àμö
: (¼Ó¼º ºÎ¿ï°ª)

¼Ó¼º°ªÀº ¿¤·¹¸àÆ® ½Ã°£ÀÌ È°¼º ÁßÀΰ¡¸¦ ³ªÅ¸³»´Â ºÎ¿ï°ªÀÌ´Ù.

true ¿¤·¹¸àÆ®°¡ È°¼º Áß À̰ųª ÀÚü°¡ ³¡³ª ½Ã°£¿ë±â°¡ Á¾·áµÉ °ÍÀ» ±â´Ù¸®¸é Àӽà ÁßÁöµÈ »óÅ¿¡ ÀÖ´Ù.
false µðÆúÆ®ÀÌ¸ç ¿¤·¹¸àÆ®°¡ È°¼ºÀ̰ųª ½Ã°£»óÅ¿¡ ÀÖÁö ¾Ê´Ù.

ÀÌ ¼Ó¼ºÀº ÀбâÀü¿ëÀ¸·Î µðÆúÆ®°ªÀº falseÀÌ´Ù.

Ư±â

¿¤·¹¸àÆ®´Â fill ¾ÖÆ®¸®ºäÆ®°¡ freeze³ª hold·Î ¼³Á¤µÇ¾î ¸¶Áö¸·ÀÌ À¯ÁöµÇ¾î¾ß ÇÑ´Ù.
ÀÌ ¼Ó¼ºÀº state ¼Ó¼º ¹Ýȯ°ª 4¿¡ ÇØ´çÇÑ´Ù.

¿¤·¹¸àÆ®°¡ ¸¶Áö¸· À¯Áö(hold) »óÅ¿¡ ÀÖ´Â °ÍÀº È°¼º ÁßÀÌ ¾Æ´Ï´Ù.
ºñÈ°¼º »óÅ¿¡¼­´Â À̺¥Æ®¸¦ ¹ß»ýÈ÷Å°Áö ¸øÇÏ°í ¹ÝÀÀµµ ÇÒ ¼ö ¾ø´Ù.

Àû¿ë
°³Ã¼scriptHTML±Ô°ÝIE
ÂüÁ¶
HTML+time, isActive, isPaused, state, stateString

ÀÌ ¼Ó¼ºÀº (¿µ¹®)SMIL 2.0(Synchronized Multimedia Integration Language)¿¡ Microsoft°¡ È®ÀåÇÑ °ÍÀÌ´Ù.



mediaObj.currTimeState.isMuted=
mediaObj.volume=
mediaObj.currTimeState.isOn=
mediaObj.currTimeState.isActive=

¼Ò¸® Á¶Àý ¼Ò¸® ²ô±â À½·® 100% À½·® 50%
<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>