Title: Problem with Iframe width
Last modified: November 14, 2016

---

# Problem with Iframe width

 *  Resolved [c2medias](https://wordpress.org/support/users/c2medias/)
 * (@c2medias)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/problem-with-iframe-width/)
 * Hi all,
    If I use the shortcode, or if I use the Youtube Iframe, the video is
   always shown on 100% width. Even if the dimensions are written in the <Iframe
   > code, it’s always 100% width
 * Any idea how to solve it ?
 * Thanks a lot,
 * David

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Aleksandar Urošević](https://wordpress.org/support/users/urkekg/)
 * (@urkekg)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/problem-with-iframe-width/#post-8436031)
 * Hi David,
 * When responsive is enabled, then defined width is used only for aspect ratio 
   reference, while width is set to 100% so you can customize size within your theme
   or parent object.
 * To disable responsive, simply disable that option in shortcode or widget settings,
   and you’ll get iframe with fixed width as is defined, but it will not be responsive
   then.
 * Kind regards,
    Aleksanadar
 *  Thread Starter [c2medias](https://wordpress.org/support/users/c2medias/)
 * (@c2medias)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/problem-with-iframe-width/#post-8436092)
 * Hi Aleksanadar,
 * Thanks for your quick answer.
 * On the bottom of this page : [http://www.c2medias.fr/lagence/qui-sommes-nous/](http://www.c2medias.fr/lagence/qui-sommes-nous/)
   
   you can see the full width video. BUT, the code I used to embed the video is (
   in the source code) : <iframe src=”[https://www.youtube.com/embed/Qnnnsy1amVw&#8221](https://www.youtube.com/embed/Qnnnsy1amVw&#8221);
   width=”560″ height=”315″ frameborder=”0″ allowfullscreen=”allowfullscreen”></
   iframe>
 * So I don’t use shortcode, but I still have the “width” problem.
 * I disabled the responsive in the widget area (at the bottom of the page), but
   nothing change (I think there is no link between them).
 * Any idea ?
 * Thanks,
 * David
 *  Plugin Author [Aleksandar Urošević](https://wordpress.org/support/users/urkekg/)
 * (@urkekg)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/problem-with-iframe-width/#post-8439782)
 * Hi David,
 * YouTube Channel plugin should not have impact to manually inserted or any other
   approach for embedding youtube clips to WordPress, as responsive tweak target
   only iframes inside DIV with class ytc_video_container.
 * Can you please confirm that issue you experiencing disappear when you disable
   YouTube Channel?
 * Cheers,
    Aleksandar
 *  Thread Starter [c2medias](https://wordpress.org/support/users/c2medias/)
 * (@c2medias)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/problem-with-iframe-width/#post-8439822)
 * That’s weird… Nothing changes, on the same page (with your plugin deactivated).
   
   But when I use Firebug and clic on the video, I can see that it’s linked to a
   class called “ytp-thumbnail-overlay-image” It’s not one of your CSS ?
 *  Plugin Author [Aleksandar Urošević](https://wordpress.org/support/users/urkekg/)
 * (@urkekg)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/problem-with-iframe-width/#post-8439930)
 * I use ‘ytc’ as a prefix, not ‘ytp’.
    Check other plugins you use (video, lightbox,
   youtube), and your theme. If you simply search for ‘ytp-thumbnail-overlay-image’
   in all files on your website, you’ll quick find what is wrong.
 * Cheers,
    Aleksandar
 *  Thread Starter [c2medias](https://wordpress.org/support/users/c2medias/)
 * (@c2medias)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/problem-with-iframe-width/#post-8457818)
 * Hi,
    I will take a look about that (I didn’t have the time yet). It’s not your
   plugin which is responsible of it. I think there is something weird in the CSS
   of the website. All code is perfect for the Youtube video embed. But it seems
   there is a conflict with something else.
 * Thanks for your time, and continue to improve the plugin, it’s perfect !! 🙂

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Problem with Iframe width’ is closed to new replies.

 * ![](https://ps.w.org/youtube-channel/assets/icon.svg?rev=2845692)
 * [My YouTube Channel](https://wordpress.org/plugins/youtube-channel/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/youtube-channel/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/youtube-channel/)
 * [Active Topics](https://wordpress.org/support/plugin/youtube-channel/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/youtube-channel/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/youtube-channel/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [c2medias](https://wordpress.org/support/users/c2medias/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/problem-with-iframe-width/#post-8457818)
 * Status: resolved