Responsive Video Embeds With CSS aspect-ratio
Make iframe videos elastic with a single line of CSS. Replace the old padding hack with aspect-ratio, and handle vertical video, native video and accessibility.
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed