Support » Plugin: Featured Video Plus » Featured Video Plus Jetpack Infinite Scroll video width problem

  • Resolved alexd91

    (@alexd91)


    I am using the TwentyFifteen theme with Jetpack Infinite scroll enabled.

    I have the problem that the featured videos created by Featured Video Plus for posts loaded by infinite scroll are not the full width of the post frame but seem to be limited to 660px width (the same as the text content). This applies to both Youtube and Vimeo videos.

    The posts at the top of the page, before ‘page two’ is loaded by infinite scroll, are full width as they should be. Also when you click a post and load it individually it is fine. It seems to be entirely a problem with the Jetpack Infinite scroll loaded posts.

    You can see the problem in action here

    Any idea what is going on?

    https://wordpress.org/plugins/featured-video-plus/

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

    (@ahoereth)

    For the autosizing you have to trigger some Javascript. The plugin does not know when Jetpack loads new posts and cannot hook into that process.

    The required javascript is the following:
    $(".featured_video_plus").fitVids({customSelector: "iframe, object, embed, .video-js"});

    Hi Alex,

    Where do i paste your piece of JS? Right now i have it after the .entry div, but it’s not working.

    Plugin Author Alex

    (@ahoereth)

    Fixed in the 2.2.1 release.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Featured Video Plus Jetpack Infinite Scroll video width problem’ is closed to new replies.