• Resolved reedy

    (@reedy)


    Running Version 1.7.11, embedded playlists no longer work —?I get the error message “Video Unavailable”. If I disable the WP YouTube Lyte plugin, the embedded playlist works as expected.

    Any suggestions?

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    Weird, as that’s exactly the regression that 1.7.11 tried to fix reedy .. can you clear all caches (page cache, lyte cache, cloudflare maybe …) to see if this fixes anything?

    Thread Starter reedy

    (@reedy)

    I just deleted the AutoOptimize cache, the WP YouTube Lyte cache, and purged the Cloudflare cache, then tried loading the page in a Chrome Incognito browser, and still the video shows as unavailable. Should I revert to an older version of WP YouTube Lyte? If so, which version?

    Having the same problem.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Puzzling; just tested again and this (still) does work for me;

    So can you try to:
    * create a new page/ post and add your playlist there?
    * create a new page/ post and add this playlist there: https://www.youtube.com/playlist?list=PLJc5u3Akf59KmWXiD5GnpIticjsXka2CQ ?

    Nothing. https://imgur.com/a/2RERSq4
    I am using the shortcode though, as a link it works fine. Am I missing something, should I remove part of the PLJc5u3Akf59KmWXiD5GnpIticjsXka2CQ in the shortcode? I have tried removing the PL with no results.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Tested with shortcode
    [lyte id="PLJc5u3Akf59KmWXiD5GnpIticjsXka2CQ" playlist="true" /]

    and that too worked for me ..

    And what happens if you use a normal YouTube link instead of the shortcode?

    OK this is so strange. I’ve found the error. For me anyway.
    Link works fine, so, I place your shortcode as posted above and boom, playlist shows up. Delete it, place my own and same error. It took me a few minutes but I realized the shortcode I’ve been using (which I got directly from your plugin description page) has playlist=”true” instead of playlist="true"

    Am I going mad? No.

    Can you spot the difference? Look closely: ” " See?. Of course the one with ” was generating an error. Dont even know what ” is. Worth fixing tho.

    Thanks for all your help.

    Thread Starter reedy

    (@reedy)

    I am still having this problem. I am using the iframe HTML code that YouTube supplies:

    <iframe width="560" height="315" src="https://www.youtube.com/embed/videoseries?list=PLzlNKjoB23LmDd78q8rtSYU1TeLD2FFuM" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>

    The code works fine if I put in the code for a specific video, but if I make it a playlist, I get the Video Unavailable error. I have also tried using the shortcode (including the shortcode you provided above), but to no effect.

    I have noticed that I am suddenly getting the following error in wp-admin:

    WP YouTube Lyte got the following error back from the YouTube API: accessNotConfigured (Wed, 01 Jan 2020 20:23:45 +0000)..

    I haven’t made any changes to the API access codes so I am not sure why this has just cropped up, either.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    I can confirm the <iframe method does not work for playlists at the moment, but

    
    https://youtube.com/playlist?list=PLzlNKjoB23LmDd78q8rtSYU1TeLD2FFuM

    does work (as does the shortcode, but do check you have normal double-quotes everywhere).

    Alternatively you can disable the <iframe replacements with this code snippet until I have time to fix this in a next LYTE release;

    
    add_filter( 'lyte_eats_yframes', '__return_false');
    Thread Starter reedy

    (@reedy)

    I tried just pasting in the link:

    https://youtube.com/playlist?list=PLzlNKjoB23LmDd78q8rtSYU1TeLD2FFuM

    However, the same error occurs (I left it up on the page in case you want to take a look — the first video is the iframe, the one under is just the pasted link).

    I can’t have this not working so if we can’t get closer to the solution by the end of today I’ll have to revert to an earlier version of the plugin.

    I appreciate your help and effort.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    can you remove the first one (the iframe), my gut tells me the 2nd one will work once that is done ??

    Thread Starter reedy

    (@reedy)

    No difference — I removed the iframe and just left the link on the page, should you want to take a look.

    Thread Starter reedy

    (@reedy)

    Update: Actually, since removing the iframe completely, the video will play, but the default thumbnail is the “Video Not Found” thumbnail rather than the video content thumbnail. I tried purging the site cache, cloudflare cache, and browser cache but the video not found thumbnail is still getting shown by default.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, can you try disabling the “cache thumbnails locally” option?

    Thread Starter reedy

    (@reedy)

    Tried that and deleted Lyte cache, site cache, and Cloudflare cache. Still the same.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Embedded Playlists Not Working’ is closed to new replies.