HTML

유튜브 iframe자동재생

728x90
반응형
<iframe
  width="560"
  height="315"
  src="https://www.youtube.com/embed/영상코드?autoplay=1&playsinline=1&controls=0&mute=1&rel=0&fs=1&loop=1&playlist=영상코드&enablejsapi=1&widgetid=1"
  title="YouTube video player"
  frameborder="0"
  allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
  referrerpolicy="strict-origin-when-cross-origin"
  allowfullscreen
></iframe>
728x90
반응형