Responsive YouTube

Generate a Respsonsive YouTube Embed Video

Every YouTube video provides a code that you can use to embed the video into a web page, but it is for a fixed iframe size. This means that the video is not mobile responsive. This results in a poor viewing experience for any person viewing the page on a device that has a narrow viewport width, like a phone. There is a good chance you may be viewing this post on your phone right now.

I build a lot of landing pages at Amazon I mean a lot. There is a good number of landing pages that require a YouTube video to be embedded on the page. I originally built this simple web app that wraps a responive video container around a YouTube video and exports the HTML code that you can paste into your page. I am hoping you may find this useful if you're encountering this issue.

Copyright © 2023 Noah Wong. All rights reserved.

Copyright © 2023 Noah Wong. All rights reserved.