¿¤·¹¸àÆ®ÀÇ ³Êºñ¸¦ Çȼ¿´ÜÀ§·Î ¹ÝȯÇÑ´Ù.

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

¼Ó¼º°ªÀº ¿¤·¹¸àÆ®ÀÇ ³Êºñ¸¦ Çȼ¿´ÜÀ§·Î ³ªÅ¸³»´Â Á¤¼ö°ªÀÌ´Ù.

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

Ư±â

ÀÌ ¼Ó¼ºÀº ¸Þµð¾î ÆÄÀÏ¿¡ ÀúÁ¤µÈ »óÅÂÀÇ ½ÇÁ¦ÀûÀÎ ¸Þµð¾î °³Ã¼ÀÇ ³ÊºñÀÌ´Ù.
µðÆúÆ®·Î ¸ÞÀÌ¾î ¿¤·¹¸àÆ®´Â ÆÄÀÏ¿¡¼­ ÁöÁ¤µÈ ÃÖ´ë ³Êºñ·Î Ç¥ÇöµÈ´Ù.

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

ÀÌ ¼Ó¼ºÀº (¿µ¹®)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>