Testing Test
Testing
That div will break the video out of the theme’s column width and stretch it full-bleed across the viewport.
A couple of notes:
-
Some themes already makeresponsive; if yours does, you only need the full-width container.
-
If you want to enforce a ratio (16:9), you can use a second wrapper with
padding-top:56.25%
trick, but in many cases the built-in responsive CSS will handle it. -
This way you don’t have to fight WordPress’s stripping of
<style>
or<script>
— all the control is via inlinestyle
on thediv
.