¿¤·¹¸àÆ®ÀÇ ³ôÀ̸¦ Çȼ¿´ÜÀ§·Î ¹ÝȯÇÑ´Ù.
¼Ó¼º°ªÀº ¿¤·¹¸àÆ®ÀÇ ³ôÀ̸¦ Çȼ¿´ÜÀ§·Î ³ªÅ¸³»´Â Á¤¼ö°ªÀÌ´Ù.
ÀÌ ¼Ó¼ºÀº ÀбâÀü¿ëÀÌ¸ç µðÆúÆ®°ªÀº ¾ø´Ù.
ÀÌ ¼Ó¼ºÀº ¸Þµð¾î ÆÄÀÏ¿¡ ÀúÁ¤µÈ »óÅÂÀÇ ½ÇÁ¦ÀûÀÎ ¸Þµð¾î °³Ã¼ÀÇ ³ôÀÌÀÌ´Ù.
µðÆúÆ®·Î ¸ÞÀÌ¾î ¿¤·¹¸àÆ®´Â ÆÄÀÏ¿¡¼ ÁöÁ¤µÈ ÃÖ´ë ³ôÀ̷ΠǥÇöµÈ´Ù.
°³Ã¼ | script | HTML | ±Ô°Ý | IE |
---|
ÀÌ ¼Ó¼ºÀº (¿µ¹®)SMIL 2.0(Synchronized Multimedia Integration Language)¿¡ Microsoft°¡ È®ÀåÇÑ °ÍÀÌ´Ù.
<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>