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

  1. chrissabato
    Posted 2 years 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.


  2. edisonake
    Posted 2 years ago #

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


  3. deanfp
    Posted 2 years ago #

    Temp fix, try changing the video sizes to

    width="340" height="315"

  4. chrissabato
    Posted 2 years ago #

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

    Open themes\pinboard\scripts\fitvid.js

    on line 49...

    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
    Posted 2 years 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
    Posted 2 years 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
    Posted 2 years 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
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic