¿¤·¹¸àÆ®ÀÇ È°¼º ½Ã°£¿¡¼­ ÁöÁ¤µÈ »ç°£À» ¼³Á¤ÇÏ°í ±× ½Ã°£À§Ä¡¿¡¼­ Ç÷¹À̸¦ ½ÃÀÛÇÑ´Ù.

Àμö/ÆĶó¸ÞÅÍ
iSeconds
ÇʼöÀûÀÎ ¿ä¼ÒÀ̸ç, ¿¤·¹¸àÆ®ÀÇ È°¼º ½Ã°£¿¡¼­ ½Ã°£À» ÁöÁ¤ÇÏ´Â Á¤¼ö°ªÀÌ´Ù. ÁöÁ¤µÈ ½Ã°£¿¡ ¿¤·¹¸àÆ®ÀÇ ½Ã°£Àº Áï½Ã Ç÷¹À̸¦ ½ÃÀÛÇÑ´Ù. À¯È¿ÇÑ °ªÀº 0°ú activeDur °ª »çÀÌÀÇ °ªÀÌ´Ù.
¹Ýȯ°ª

¹Ýȯ°ªÀº ¾ø´Ù.

Ư±â

ÇöÀç È°¼ºÈ­°¡ µÇÁö ¾ÊÀº °³Ã¼¿¡¼­ ½Ã°£À» ã±â(seek)¸¦ ½ÃµµÇÏ¸é ¿À·ù°¡ ¹ß»ýµÈ´Ù. À̸¦ ¹æÁöÇϱâ À§ÇÏ¿© isActive ¼Ó¼ºÀ» »ç¿ëÇÏ¿© °³Ã¼ÀÇ »óŸ¦ Á¡°ËÇÑ´Ù.

¸ðµç ¸Þµð¾î ŸÀÔ¿¡¼­ ½Ã°£ ã±â°¡ Áö¿øµÇ´Â °ÍÀº ¾Æ´Ï°í, Ç÷¹À̾ ½Ã°£ ã±â¸¦ Áö¿øÇÏÁö ¸øÇϸé ÀÌ ¸Þ¼­µå´Â ¹«½ÃµÈ´Ù.

Àû¿ë
°³Ã¼scriptIE
ÂüÁ¶
+time2, seekSegmentTime, seekTo

ÀÌ ¸Þ¼­µå´Â (¿µ¹®)SMIL 2.0(Synchronized Multimedia Integration Language)¿¡ ´ëÇÑ MicrosoftÀÇ È®ÀåÀÌ´Ù.


¸Þµð¾î ŸÀ̸Ó: 0

¸Þµð¾Æ Áö¼Ó: ÃÊ
ãÀ» ½Ã°£(seekActiveTime) ÀÔ·Â: ÃÊ

¿À·ù¸¦ ¹æÁöÇϱâ À§ÇÏ¿© ¸ÕÀú ¸Þµð¾î°¡ È°¼ºÈ­ ¾ÈµÇ¾úÀ¸¸é beginElement ¸Þ¼­µå·Î È°¼ºÈ­ ½ÃŲ ÈÄ À¯È¿ÇÑ ½Ã°£ ¹üÀ§ ³»¿¡¼­ seekActiveTime ¸Þ¼­µå¸¦ È£ÃâÇÏ¿© ¿øÇÏ´Â ½Ã°£À» ã¾Æ Ç÷¹ÀÌÇÑ´Ù.

<HTML xmlns:t= "urn:schemas-microsoft-com:time">
<HEAD>
<IMPORT namespace="t" implementation="#default#time2">
<STYLE>.time{behavior:url(#default#time2)}</STYLE>
<SCRIPT>
function doSeekTime(){
  showA.innerHTML='';
  if (!oMedia.currTimeState.isActive){ // ¸Þµð¾î °³Ã¼°¡ È°¼º ÁßÀÌ ¾Æ´Ï¸é ´Ù½Ã ½ÃÀÛÇÑ´Ù.
    oMedia.beginElement();
  }
  if (isFinite(inSeekTime.value) && inSeekTime.value <= oMedia.mediaDur && inSeekTime.value > 0){
    // ÀÔ·ÂÇÑ Ã£´Â ½Ã°£ÀÌ À¯È¿ÇÑ ¹üÀ§Àΰ¡¸¦ Á¡°ËÇÏ¿© ã´Â´Ù.
    oMedia.seekActiveTime(inSeekTime.value);
  } else{ // ¹üÀ§¸¦ ¹þ¾î³µÀ¸¸é ´ÙÀÌ ÀÔ·ÂÀ» ¿äûÇÑ´Ù.
    showA.innerHTML='À¯È¿ ¹üÀ§´Â 0ÃÊÀÌ»ó ¸Þµð¾î Áö¼Ó½Ã°£(' + oMedia.mediaDur + ')ÃÊ ÀÌÇÏÀ̾î¾ß ÇÑ´Ù.';
    inSeekTime.focus();
  }
}
</SCRIPT>
</HEAD>
<BODY>
¸Þµð¾î ŸÀ̸Ó:
<SPAN id="Timer2" class="time" dur=".01" repeatCount="indefinite" fill="hold"
  onrepeat="innerText=parseInt(oMedia.currTimeState.activeTime);">0</SPAN><BR>
<T:video style="width:175px; height:150px;" id="oMedia" src="../../media/clock.avi"
  onmediacomplete="oMediaDur.innerText=oMedia.mediaDur;" /><BR>
¸Þµð¾Æ Áö¼Ó: <SPAN id="oMediaDur"></SPAN> ÃÊ<BR>
ãÀ» ½Ã°£(seekActiveTime) ÀÔ·Â:
<INPUT type="text" value="" name="inSeekTime" size="3"/> ÃÊ<BR>
<BUTTON id="seekBtn" onClick="doSeekTime();">½Ã°£ ã±â</BUTTON>
<BUTTON onClick="oMedia.beginElement();showA.innerHTML='';">´Ù½Ã ½ÃÀÛ</BUTTON>
<DIV id=showA></DIV>
</BODY>
</HTML>