Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Author Frank Goossens

    (@futtta)

    That might be a bug, I’ll look into that one of the following days CK MacLeod!

    Plugin Author Frank Goossens

    (@futtta)

    I can confirm this is a bug (oversight on my part; the widget-code for playlist thumbnail needs updating to use the server-side fetched data from youtube and for that the caching-mechanism needs an update to store elsewhere for widgets, as we can’t rely on postID). I’ll work on a solution one of the following weeks.

    frank

    Thread Starter CK MacLeod

    (@ck-macleod)

    Good to know you’re working on it. Sounds like there isn’t an easy/obvious fix (or you would already have applied it). As soon as you have one, I’ll be happy to test it out for you, even if it’s not ready to be pushed out in a plug-in update.

    Thread Starter CK MacLeod

    (@ck-macleod)

    Come to think of it, being able to supply (or in the future substitute) our own custom Playlist splash image might be an interesting alternative.

    Thread Starter CK MacLeod

    (@ck-macleod)

    Apparently substituting a custom image can be done on an embed by embed basis via CSS override of the background url for the generated lyte_[video#] ID. A more general jQuery solution might also work. If our Music guy wants to go ahead featuring his playlist or playlists, and I haven’t heard from you in the meantime, I might go one or both routes before you’ve worked up better solution.

    Plugin Author Frank Goossens

    (@futtta)

    CSS/ jquery would work, but while I’m at it I’ll add a filter in widgets.php to override the thumbnail server-side in the fixed version as well.

    frank

    Plugin Author Frank Goossens

    (@futtta)

    Hi there CK MacLeod;
    I’ve created a WP YouTube Lyte repo on Github and committed changes to cater for playlist-widgets. Have a look and let me know if that does the job for you?

    frank

    Thread Starter CK MacLeod

    (@ck-macleod)

    Tested and works! Excellent work.

    Thread Starter CK MacLeod

    (@ck-macleod)

    New problem: The old Playlist splash image doesn’t clear from cache when a new Playlist is rendered (at least on Firefox and Chrome). So the new Playlist shows the old Playlist’s splash image (though once initiated it does play the correct Playlist).

    See example here: https://ordinary-gentlemen.com/blog/2015/12/28/farewell-warrior-on-the-edge-of-time/ (scroll down to 4th video).

    Thread Starter CK MacLeod

    (@ck-macleod)

    Further to the above – if you slide over to the sidebar, there’s a DIFFERENT playlist there, showing the wrong splash image. The correct splash image (of the first video in the list) shows fine on the site’s front page, when there are no other videos rendered.

    (I’m thinking I may just go back to a custom Playlist splash, since the default doesn’t tell the user that the Playlist is actually a Playlist.)

    For one possible clue as to what’s happening somewhere in the logic, if you go to this video-heavy post, the widget splash changes, but this time picks up an image from the last of the group of videos used in the post.

    https://ordinary-gentlemen.com/blog/2015/12/29/let-down-glyphs-disappointing-2015-in-rock/

    Plugin Author Frank Goossens

    (@futtta)

    I have an idea of what’s going on there, will have a fix one of the following days.

    frank

    Plugin Author Frank Goossens

    (@futtta)

    this small commit should fix the bug (it did in my tests), can you check & confirm or deny?

    happy new year!!
    frank

    Plugin Author Frank Goossens

    (@futtta)

    hmmm, not entirely there yet, found a bug. hang on … ??

    Plugin Author Frank Goossens

    (@futtta)

    OK, got it. 2nd small change needed, cfr. this commit.

    frank

    Thread Starter CK MacLeod

    (@ck-macleod)

    Seems to work as far as the widget/post interaction goes.

    Oddly, though, even after repeated browser, site, and plug-in cache flushes, the wrong splash image from a previously posted Playlist still shows on a previously posted post:

    https://ordinary-gentlemen.com/blog/2015/12/28/farewell-warrior-on-the-edge-of-time/

    It’s the one that shows Nina Hagen on the splash, but in fact contains a Motorhead video. I tried using the httpv instead of http code, and also the shortcode – still shows Nina.

    When, however, I copy the same series of YouTube links to a new post, save it, and preview, the images are all correct.

    Cache hiccup? Obviously a very minor problem (as far as I can tell), just thought you might want to know.

    Happy New Year!

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘No splash image on Playlist, in Widget’ is closed to new replies.