Recently figured out how to make Youtube videos responsive, so they scale properly on every device. Hope this helps someone

See an example page here: http://www.bordnerinstall.com/doors/r…
Take your browser out of fullscreen mode and play with the window size. You will see the video scaling automatically with the rest of the site.

Step 1: add this css to your custom css file;

.video-container {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px; height: 0; overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

Step 2: Add this html to the source code within the rich text widget on the page where you are adding the video. - keep in mind this html is commented out so it will display in this forum. You will have to remove the

Step 3: Go to the youtube page for your intended video and,

  • Click on Share

  • Click on Embed

  • Copy only the url starting with //www.

  • Paste the url into the src between the quotation marks (from step 2)

  • save and publish the page!

  • Make sure you use the url this exact way or Percussion will not recognize it or it will unsuccessfully try to manage the link.

  • You may need to alter the Video height depending on your page/widget size

Special Thanks to Armani Appolon for telling me (again) to set the width to 100%

Hope this works for those of you who try it.

@john @armani - I was going to post it few weeks ago but got slammed. This solution will save you a lot of time - http://fitvidsjs.com/

Supported YouTube, Vimeo, Blip.tv, Viddler, and Kickstarter.

Great Post John!