• I’ve noticed today the youtube videos I put in my blog are far too big for some reason. They used to be fine.

    I use the Add Media button and just put in the Youtube URL but it goes beyond the width I have set on the page, which is set for 175px margin each side of the page.

    Here is an example “hXXps://www.thrivingaudios.com/eckhart-tolle-presence-conscious-breath/”

    I’ve tried embeding using the [embed height="" width=""]URL[/embed] method, that does nothing.

    I have searched hereon wordpress and on google, tried various methods, including the old &w=560&h=315 and this in my custom CSS area:

    .video-container {
    display: block;
    margin: 1rem auto;
    width: 560px;
    height: 315px;
    }

    .video-container iframe,
    .video-container embed {
    width: 100% !important;
    height: 100% !important;
    }

    None of it works, I’m now reaching out.

    I’m not a trained engineer, but I have a grasp of some of the basics.

    Please help

Viewing 7 replies - 1 through 7 (of 7 total)
  • This could be controlled by your theme. What theme are you using? Where did you download it from?

    Thread Starter marky10000

    (@marky10000)

    I’m using Avada which is a premium theme, I did think of that but could see nothing in the settings for me to be able to control the dimensions when using a standard wordpress blog setting.

    Avada uses Fusion Builder and I’m sure I can do it that way but it is over 100 blogs with youtube videos and I just do not have the time.

    Thread Starter marky10000

    (@marky10000)

    There must be a way inside wordpress to manipulate dimensions via an embed or using html etc.

    How did the standard width and height settings stop working inside wordpress?

    • This reply was modified 8 years, 6 months ago by marky10000.
    • This reply was modified 8 years, 6 months ago by marky10000.

    How did the standard width and height settings stop working inside wordpress?

    Themes can (and sometimes do) set up their own media dimensions. As you are using a commercial theme, you need to ask the theme’s developer/vendor about this. We do not have access to, nor do we support, commercial products here. Your best bet is always your product’s developer, so we encourage you to use the official support venues, as it allows the developers to be aware of issues with their code and gives back to the community in a more robust way.

    If, on the other hand, you’ve changed the standard media dimensions in Settings -> Media at any point, you will need to install and run https://www.ads-software.com/extend/plugins/regenerate-thumbnails/ to regenerate fresh thumbnails with the new dimensions. However, I would not expect these settings to impact on video embeds as, from a WP perspective, they’re handled very differently from images. But your theme can still impact their displayed size.

    Thread Starter marky10000

    (@marky10000)

    I’ll try but I’m not using the theme to embed the videos.

    Sorry to disagree but yes, you are using your theme. Every piece of your content is formatted by your theme. Some themes have included CSS specifically aimed at maximising their width within a site’s content area. Try using Firefox with the Firebug add-on for this kind of CSS troubleshooting. Or use whatever developer tool is available in your web browser.

    Thread Starter marky10000

    (@marky10000)

    I have spoken many times in the last few days to Avada support and they tell me it is definitely wordpress that has caused this issue, not them.

    They even went to the trouble of going through my site.

    If I use Fusion Builder, which is their formatting plugin then I can easily do the youtube dimensions, but just adding media using the wordpress way gives me the huge youtube size.

    Please advise.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Youtube dimensions not working’ is closed to new replies.