<!– 追加CSSとペアで機能します –>
<div class=”video-container”>
<iframe
src=”https://www.youtube.com/embed/0LRg_5ZsrEk”
title=”YouTube video”
loading=”lazy” <!– 遅延読み込みで表示速度を確保 –>
allow=”accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share”
allowfullscreen></iframe>
</div>