1// IFrame Player API ã®èªã¿è¾¼ã¿ 2var tag = document.createElement('script'); 3tag.src = "https://www.youtube.com/iframe_api"; 4var firstScriptTag = document.getElementsByTagName('script')[0]; 5firstScriptTag.parentNode.insertBefore(tag, firstScriptTag); 6 7// YouTubeã®åã込㿠8var ytPlayer; 9function onYouTubeIframeAPIReady() { 10 ytPlayer = new YT.Player( 11 'player', // åãè¾¼ãå ´æã®æå® 12 { 13 width: 640, // ãã¬ã¼ã¤ã¼ã®å¹ 14 height: 480, // ãã¬ã¼ã¤ã¼ã®é«ã 15 videoId: 'jS-YBxEsOaQ', // YouTubeã®ID 16 events: { 17 'onReady': onPlayerReady //ãã¬ã¤æºåå®äºæã®åä½ 18 }, 19 playerVars: { 20 loop: 1, // ã«ã¼ãã®è¨å® 21 autoplay: 1, 22 rel : 0, 23 showinfo : 0, 24 playlist: 'jS-YBxEsOaQ' // åçããåç»ã®ãªã¹ã 25 } 26 } 27 ); 28} 29function onPlayerReady(event) { 30 event.target.playVideo();ã// åç»åç 31 event.target.mute();ã// ãã¥ã¼ãã«ãã 32}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.