JSFiddle - React, Tailwind, and code Playground
HTML
<div class="video-wrapper">
<div class="video-overlay">click on picturep <p>hello</p></div>
<iframe width="560" height="315" src="https://www.youtube.com/embed/qgWHsit77E4" frameborder="0" allowfullscreen></iframe>
</div>
CSS
.video-wrapper{
position:relative;
display:inline-block;
}
.video-overlay{
position:absolute;
left:0;
top:0;
right:0;
bottom:0;
background-image:url("http://static.comicvine.com/uploads/original/11120/111201466/4876184-6766483597-27828.jpg");
background-size:cover;
}
p {
position:absolute;
left: 50%;
}
JavaScript
document.querySelector(".video-overlay").onclick = function(){
this.style.display = "none";
}