¸Þµð¾îÀÇ Áö¼Ó½Ã°£À» ÃÊ´ÜÀ§ Á¤¼ö°ªÀ¸·Î ¹ÝȯÇÑ´Ù.

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

¼Ó¼º°ªÀº ¸Þµð¾îÀÇ Áö¼Ó½Ã°£À» ÃÊ´ÜÀ§·Î ³ªÅ¸³»´Â Á¤¼ö°ªÀÌ´Ù.

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

Ư±â

ÀÌ ¼Ó¼ºÀº onmediacomplete À̺¥Æ®°¡ ¹ß»ýµÉ ¶§±îÁö °ªÀÌ ¾øÀ» ¼ö ÀÖ´Ù.

Àû¿ë
°³Ã¼scriptHTML±Ô°ÝIE
ÂüÁ¶
HTML+time activeDur dur repeatDur segmentDur simpleDur mediaHeight mediaWidth

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



videoObj.mediaDur= ÃÊ
videoObj.mediaWidth= px
videoObj.mediaHeight= px
<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(){
  showA.innerText=videoObj.mediaDur;
  showB.innerText=videoObj.mediaWidth;
  showC.innerText=videoObj.mediaHeight;
}
</SCRIPT>
</HEAD>
<BODY>
<T:video id="videoObj" begin="0" style="position:relative;top:0px;height:200" src="../../media/AVITest.avi" /><BR>
videoObj.mediaDur=<SPAN id="showA"></SPAN> ÃÊ<BR>
videoObj.mediaWidth=<SPAN id="showB"></SPAN> px<BR>
videoObj.mediaHeight=<SPAN id="showC"></SPAN> px<BR>
<BUTTON id="butObj" onclick="showAll()">videoObj Á¤º¸ º¸±â Ŭ¸¯</BUTTON>
</BODY>
</HTML>