[Resolved] Wrong Video Size (?)

Home Forums Support [Resolved] Wrong Video Size (?)

Home Forums Support Wrong Video Size (?)

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #76055
    Marc-Andre Seguin

    I wonder if this can be attributed to GeneratePress … but look at the size of the youtube “thumbnail” (in fact, an embedded video) on this page:

    http://blog.jazzguitarlessons.net/five-chord-melody-tips-jazz-guitarists/

    It is way too big on my screen … but it was fine only a few hours ago. The post has not been changed in months, and suddenly the embedded video looks too big. Very odd. I’ve updated several plugins today, that might be why.

    BUT: I tried to deactivate all plugins to no avail. Then I switched to the default them (twenty fifteen) and video embed was of the good size.

    Something wrong with GeneratePress?

    Thanks!

    Marc-Andre Seguin
    JazzGuitarLessons.net

    #76124
    Tom
    Lead Developer
    Lead Developer

    In the latest version, the WP $content_width variable took effect (wasn’t working before).

    I have it set at 1200, as most things resize down gracefully (images, galleries etc..).

    Unfortunatley, YouTube videos don’t downsize very gracefully.

    Options:

    a) Set a new content width in your child theme’s functions.php, like this:

    global $content_width;
    $content_width = 500;

    b) Try a plugin like this: https://wordpress.org/plugins/responsive-video-embeds/

    c) Manually embed these videos using a width and height that you can set when you grab the embed code.

    Let me know 🙂

    #78048
    Tom
    Lead Developer
    Lead Developer

    This issue has been fixed in 1.2.9 – the theme will figure out the proper content width for you and show videos correctly.

    Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.