embedresponsively
embedresponsively copied to clipboard
Offer the aspect-ratio property approach
Amazing tool. Used it many times.
Any chance of offering the option of the aspect-ratio
property approach along the lines of this article?
https://dev.to/deammer/embed-responsive-youtube-videos-in-2021-5dkh
<style>
.video {
aspect-ratio: 16 / 9;
width: 100%;
}
</style>
<iframe
class="video"
src="https://www.youtube.com/embed/msizPweg3kE"
frameborder="0"
allow="accelerometer; autoplay; encrypted-media; gyroscope;"
allowfullscreen></iframe>