I found another problem, I want to scale the video, but when drag the corner, the boundary scale, but the video doesn't.
Your YouTube code should look something like this:
Code:
<iframe width="560" height="315" src="https://www.youtube.com/embed/TlA3wS89tuk" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
You can proportionally change the height and width in the code to achieve the size you want upto 1920 x 1080 for Full HD (subject to the original video quality being 1080p). Make sure the placeholder is the same size as the H&W in your code. E.g. 1120x 630 for the code below:
Code:
<iframe width="1120" height="630" src="https://www.youtube.com/embed/TlA3wS89tuk" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
Bookmarks