YouTubeで埋め込みで関連動画を非表示にする方法
ループさせて関連動画を非表示にする方法
埋め込みコードの末尾にパラメータ―「?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>