Youtube Videos break Grid Masonry

Viewing 4 posts - 1 through 4 (of 4 total)
  • #13400
    rgtindall
    Participant

    http://portfolio.tindalldesign.com/

    When the content is made up entirely of youtube videos there is a lot of white space in between each row.

    #13403
    rgtindall
    Participant

    Oh, also it refits it appropriately once you restore and maximize the screen. Not sure if that helps at all. =/

    #13410
    rgtindall
    Participant

    Turns out adding something without an embedded video fixes that specific page. You can still see the issue on a page with nothing but video.

    http://portfolio.tindalldesign.com/?cat=9

    #13430
    Daniel Tara
    Keymaster

    The only explanation that comes to my mind is that it takes longer for the videos to load than the masonry script to execute and that’s why the discrepancy. Try wrapping the masonry function call in a setTimeout function, like this:

    setTimeout(function() {
    // Call to masonry()
    }, 500);
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.