I have a YouTube video I want to put on my web page.
I want to scale the video to fit to a percent of the users browser but also to keep the aspect ratio.
I hav
Just set iframe height and width with CSS vw metric. It uses device width as parameter:
vw
.videoWrapper iframe { height: 36.6vw; width: 65vw; }