PageSourceSearch

https://www.miss-international.org/js/index_youtube.js

js miss-international.org collected 2026-10-02 07:50:13 UTC 1,004 bytes, 32 lines download raw bytes

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.