답변 1개 / 댓글 1개
<iframe class="ytplayer" id="ytplayer" type="text/html" width="720" height="405"
src="https://www.youtube.com/watch?v=z4O-5eV4LiA"
frameborder="0" allowfullscreen>
위와 같이 iframe에 id 지정 후 css에서 클릭 방지
.ytplayer {
pointer-events: none;
position: absolute;
}
답변을 작성하려면 로그인이 필요합니다.