Ä÷º¼Ç¿¡ Æ÷ÇԵǾî ÀÖ´Â °³Ã¼µéÀÇ °¹¼ö¸¦ Á¤¼ö°ªÀ¸·Î ¹ÝȯÇÑ´Ù.

Àμö
: (¼Ó¼º Á¤¼ö°ª)

¼Ó¼º°ªÀº Ä÷º¼Ç¿¡ Æ÷ÇԵǾî ÀÖ´Â °³Ã¼µéÀÇ °¹¼ö¸¦ ³ªÅ¸³»´Â Á¤¼ö°ªÀÌ´Ù.

ÀÌ ¼Ó¼ºÀº ÀбâÀü¿ëÀÌ¸ç µðÆúÆ®°ªÀº ¾ø´Ù.

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

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


length ¼Ó¼ºÀ» »ç¿ëÇÏ¿© Ä÷º¼Ç¿¡ ÀÖ´Â °³Ã¼ÀÇ °¹¼ö¸¦ ¹Ýȯ¹Þ´Â´Ù.

<HTML xmlns:t="urn:schemas-microsoft-com:time">
<HEAD>
<IMPORT namespace="t" implementation="#default#time2">
<STYLE>.time{ behavior: url(#default#time2);}</STYLE>
<SCRIPT>
function getLength(){
  if (md1.playList) showA.innerHTML='playListÀÇ °³Ã¼ÀÇ °³¼ö´Â '+md1.playList.length+' °³ÀÌ´Ù';
  else showA.innerHTML='md1 °³Ã¼¿¡ playList ¾ø´Ù';
}
</SCRIPT>
<BODY>
<T:media id="md1" class=time begin="0" src="../../media/bannerSample.asx"/>
<BUTTON onclick="getLength();">°³Ã¼ÀÇ °³¼ö¸¦ ¾ò´Â´Ù.</BUTTON>
<DIV id=showA></DIV>
</BODY>
</HTML>