CLOSE
CLOSE
¾È³çÇϼ¼¿ä °í°´´Ô!
ILOVEJ ¾îÇø®ÄÉÀ̼ÇÀ» ÅëÇÏ¿©
´Ù¾çÇÑ Á¤º¸¿Í À̺¥Æ®¸¦ ¸ÕÀú È®ÀÎÇϼ¼¿ä!
var tag = document.createElement('script'); tag.src = "https://www.youtube.com/iframe_api"; var firstScriptTag = document.getElementsByTagName('script')[0]; firstScriptTag.parentNode.insertBefore(tag, firstScriptTag); var section = { start: 000, end: 016 }; // 3. This function creates an // after the API code downloads. var player; function onYouTubeIframeAPIReady() { player = new YT.Player( 'player', { height: '239', width: '424', playerVars: { 'autoplay': 1, 'controls': 0, 'mute':1,'modestbranding': 1,'loop': 1}, videoId: 'RFwdE6hxxQ8', events: { 'onReady': onPlayerReady, 'onStateChange': onPlayerStateChange } } ); } function onPlayerReady(event) { player.seekTo(section.start); player.playVideo(); } function onPlayerStateChange(event) { if (event.data == YT.PlayerState.PLAYING) { var duration = section.end - section.start; setTimeout(restartVideoSection, duration * 1000); } } function restartVideoSection() { player.seekTo(section.start); } |
¹ÙÅÁȸé Áñ°Üã±â°¡ »ý¼ºµË´Ï´Ù.
¿øÄ¡ ¾ÊÀ¸½Ã¸é Áö±Ý ´Ý±â¹öÆ°À» ´·¯ÁÖ¼¼¿ä
Ȩȸ鿡 Ãß°¡ÇÕ´Ï´Ù.