Before you ask please READ THIS

Albums made up of youtube video does not always show thumbnail from upload or embedded

To reproduce:
1. Create new album
2. Add video from youtube, insert URL
3. Fill in title and description and save
4. Add more than video
5. Preview album page in slider mode

Thumbnails dont' seem to show for all videos, acts random. Tracked down the code and it looks like display:none is set to videos that are loaded, but aren't playing. See attachment.

How would I go about fixing this issue so thumbnails, whether uploaded or embedded from youtube, display in the slider as default before user clicks the video?

Screen Shot 2015-11-21 at 12.31.38 AM.png
1920 x 957 - 519K

Comments

  • AirAir
    Posts: 10,970
    Hello there:-)

    On Friday I received same complain about our other theme, and I am in middle of investigation what is going on. I hope I will be able to solve it today, and I will replay then here :-)

    With kind regards.
  • AirAir
    Posts: 10,970
    Hello :-).

    I have found that code that we added for touch devices, so they could play youtube video when cover is active, is now making this issue.

    If you go to line ~1160 and remove this code
    			if(state === -1){
    //show video, so user can see it is loading
    actual_slide.children().not('.video-poster').css('opacity',1);
    actual_slide.find('.video-poster').fadeOut(minorHideTime);
    }
    Then It will be fixed for desktop devices. I have to however find other solution for touch devices in that case.

    Thanks for reporting this!

    With kind regards.
  • Hi Air,

    I actually did exactly this a few days ago. Thanks a bunch. Great theme.

    Richie
  • AirAir
    Posts: 10,970
    So you are a nice debbuger :-) Thanks for info and kindness :-)

    Have a good day.
  • AirAir
    Posts: 10,970
    In newest updates I corrected work of video covers, and now it works good on mobile and desktop.
    Updates should be available in few minutes on ThemeForest, I hope :-)

    With kind regards.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!