¸Þµð¾îÀÇ Áö¼Ó½Ã°£À» ÃÊ´ÜÀ§ Á¤¼ö°ªÀ¸·Î ¹ÝȯÇÑ´Ù.
¼Ó¼º°ªÀº ¸Þµð¾îÀÇ Áö¼Ó½Ã°£À» ÃÊ´ÜÀ§·Î ³ªÅ¸³»´Â Á¤¼ö°ªÀÌ´Ù.
ÀÌ ¼Ó¼ºÀº ÀбâÀü¿ëÀÌ¸ç µðÆúÆ®°ªÀº ¾ø´Ù.
ÀÌ ¼Ó¼ºÀº onmediacomplete À̺¥Æ®°¡ ¹ß»ýµÉ ¶§±îÁö °ªÀÌ ¾øÀ» ¼ö ÀÖ´Ù.
°³Ã¼ | 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>