あくまで自分用の覚え書きなので文章とか適当です...

ループさせて関連動画を非表示にする方法

埋め込みコードの末尾にパラメータ―「?loop=1&playlist=foobar」を追加する

「foobarは動画ID」

<iframe src="https://www.youtube.com/embed/xxxxxx?loop=1&playlist=xxxxxx" title="YouTube video player" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

自分のチャンネル以外の関連動画を非表示にする方法

埋め込みコードの末尾にパラメータ―「?rel=0」を追加する

<iframe src="https://www.youtube.com/embed/xxxxxxx?rel=0" title="YouTube video player" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
スポンサーリンク

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です