I needed a quick way to make my WordPress video shortcode responsive and full width. Here’s how I did it:
Here’s an example shortcode:
That shortcode will generate this markup:
Here’s the CSS I used to ensure the video takes up the full width of its container:
Enjoy your responsive WordPress videos!