I made this iframe so I could put the TV border over the video player, and so far I've been trying to make it look good on mobile, so far it looks good on PC browsers (jsbin displays it weird, but in the actual site it looks good), but I don't get the height of the video to fit.
<html>
<style>
iframe {
position: absolute;
z-index: -1;
left: 12%;
top: 34%;
width: 60%;
}
#TVborder {
position: absolute;
float: center;
z-index: 0;
left: 0px;
width: 100%;
pointer-events: none;
}
</style>
</head>
<body>
<img src="https://pngimg.com/uploads/tv/tv_PNG39278.png" width="100%" id="TVborder" />
<iframe width="100%" height="100%" src="https://www.youtube.com/embed/Id3tNsMj_hA" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</body>
</html>
What do you think would be the best approach to fix it?