WordPress.org

Ready to get started?Download WordPress

Forums

Pinboard
Embedded video don't shrink to fit cards (8 posts)

  1. chrissabato
    Member
    Posted 5 months ago #

    After the last pinboard update the videos no long shrink down to fit the pinboard cards. They display full width and overlap other content.

    http://willamettetrack.com/

  2. edisonake
    Member
    Posted 5 months ago #

    Hi, where you able to get a fix for this? I'm having the same problem with the last update

    Thanks

  3. deanfp
    Member
    Posted 5 months ago #

    Temp fix, try changing the video sizes to

    width="340" height="315"

  4. chrissabato
    Member
    Posted 5 months ago #

    After some digging i figured out that it was only happening to vimeo videos.

    Open themes\pinboard\scripts\fitvid.js

    on line 49...
    change:
    "iframe[src^=''https://player.vimeo.com']",
    to
    "iframe[src^=//player.vimeo.com']",

    There is a deeper issue. I'm not sure why the vimeo links are being generated without the 'https:', but this fix worked for me.

  5. ryanscreativeuniverse
    Member
    Posted 5 months ago #

    I am having the same issue but not using Vimeo videos. The videos I embedded are from YouTube. And yes, only since the last update. Used to work fine. Let me know if any of you figure out why. Thanks.

  6. edisonake
    Member
    Posted 4 months ago #

    This keeps happening with my youtube videos too.

    This is something with the last update. I've noticed that videos don't have the following <div> around the iframe as they did before.

    <div class="fluid-width-video-wrapper">

    I'm guessing something's wrong with fitvid.js

  7. achuka
    Member
    Posted 4 months ago #

    Thanks chrissaboto - that vimeo thing had been bugging me for a while - your fix works a treat
    YouTube vids have remained OK for me...

  8. Dave Clements
    Member
    Posted 3 months ago #

    I'm having the same issue, but with videos from TED. I am stuck on 1.1.10 until this gets fixed.

Reply

You must log in to post.

About this Theme

About this Topic