playList Ä÷º¼Ç¿¡ ÀÖ´Â playItem °³Ã¼ÀÇ Àμö°ª(index)À» ¹ÝȯÇÑ´Ù.

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

¼Ó¼º°ªÀº playList Ä÷º¼Ç¿¡ ÀÖ´Â playItem °³Ã¼ÀÇ Àμö°ª(index)À» ³ªÅ¸³»´Â Á¤¼ö°ªÀÌ´Ù.

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

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

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


°á°ú Ç¥½Ãâ

playList Ä÷º¼Ç¿¡¼­ Ç÷¹À̵Ǵ playItem °³Ã¼ÀÇ Àμö¸¦ ±¸ÇÑ´Ù.

<HTML xmlns:t="urn:schemas-microsoft-com:time">
<IMPORT namespace="t" implementation="#default#time2">
<STYLE>.time{ behavior: url(#default#time2);}</STYLE>
<SCRIPT>
function showIndex(){
  str='mediaObj.src='+mediaObj.src+'<BR>';
  str+='mediaObj.hasPlayList='+mediaObj.hasPlayList+'<BR>';
  str+='mediaObj.playList.activeTrack.index='+mediaObj.playList.activeTrack.index+'<BR>';
  showA.innerHTML=str;
}
</SCRIPT>
<BODY>
<T:media id="mediaObj" begin="0;" src="../../media/bannerSample.asx"/>
<BUTTON onclick="showIndex();">Àμö Ç¥½Ã</BUTTON>
<DIV id="showA" style="color:blue;">°á°ú Ç¥½Ãâ</DIV>
</BODY>
</HTML>