Support » Plugin: Featured Video Plus » Issues with Pinboard Theme

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Alex


    The plugin uses jQuery fitVids for auto sizing the videos to their parent container. But this is only done with videos existing on page load. So for every other video which is loaded using an AJAX request later in time you need to manually recall .fitVids

    Your theme (I guess) adds this JS to your blog’s head:
    Everything in function(entries){ is called when the site is finished loading new content. So there you have to add jQuery(".featured_video_plus").fitVids(); to start auto-resizing the newly added videos.

    I did not test this, but I reccon it will solve it just fine. All you have to do is find where the plugin actually produces this code 😉
    Hope this helps, Alex

    I added it, but it broke our infinite scroll and the content alignment. Any advice?

    Plugin Author Alex


    There is already

    $(".entry-attachment, .entry-content").fitVids({ customSelector: "iframe, object, embed"});

    in the callback. Maybe you can just change it to

    $(".entry-attachment, .entry-content, .featured_video_plus").fitVids({ customSelector: "iframe, object, embed"});

    Pinboard and my plugin both include fitvids. I am not sure if this alredy results in any conflicts on it’s own..

    That did not do anything, it still disaligns the posts in the smaller boxes and breaks the infinite scroll.

    Plugin Author Alex


    The line occurs twice in the JavaScript:
    Line 35 and 46.
    Try changing both occurences to this:

    $(".entry-attachment, .entry-content, .featured_video_plus").fitVids({customSelector: "iframe, object, embed, .video-js"});

    and change the featured video width on your Settings -> Media to something fixed.

    Just trial and error, sry 😀

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Issues with Pinboard Theme’ is closed to new replies.