Ever wonder how to embed a video so that it doesn’t extend beyond the column? Here’s an easy tip to make sure it fits regardless of the browser size. Set the “width” in the embed code to 100%.
Take this video on DNA, when I’m looking at it from the Tablet view, it extends beyond the boundary of the column:

I’m not liking how this looks. I want it to fit perfectly. To solve that problem, I changed the width from “320” to “100%”.


With that simple change, my video is guaranteed to fit perfectly on the page.
Take this video on DNA, when I’m looking at it from the Tablet view, it extends beyond the boundary of the column:
I’m not liking how this looks. I want it to fit perfectly. To solve that problem, I changed the width from “320” to “100%”.
320 PX:
100%:
With that simple change, my video is guaranteed to fit perfectly on the page.
Comments
Post a Comment
Thanks for your input!