How To Easily Make YouTube Embed Players Responsive

It is very easy to make the default YouTube embed player function properly on a responsive website and can be achieved by completing the following. Please note if you wish you may place the contents of the <style></style> tags inside your website CSS. Simply replace src of the embed iframe below with that of your own YouTube Video.

 

Hans-Eirik Hanifl

view all posts

Hans-Eirik Hanifl is a forward thinking e-commerce and marketing consultant. As an advocate for the free exchange of knowledge, he founded E-Commerce Gorilla as a place where like-minded individuals can ask questions and share their expertise on practical solutions in the area of e-commerce and marketing. He is the owner of TRM Marketing and an avid supporter of the open source community.

1 Comment Join the Conversation →


  1. Tim

    Thanks for this!!!! Works Great!

Leave a Reply

Stay in the loop!

E-Commerce Gorilla Avatar

Join the E-Commerce Gorilla e-mail newsletter. We provide monthly updates on new articles featuring all aspects of online sales and E-Commerce setup. We cover the do's and don'ts of effective online sales, along with great giveaways. As a newsletter subscriber you are automatically entered for any competitions and giveaways.* Join our community of engaged online marketing experts, great content, and great giveaways. You can't go wrong.