• Resolved radibor78

    (@radibor78)


    I was using the plugin with some playlists using the link structure:
    https://www.youtube.com/playlist?list=playlist_id
    and they are working without problem. But then I had another playlist which does not work. Once the embed is clicked it is just showing “Video not available” instead of playing the first video in the playlist. If I just disable WP YouTube Lyte the embed is working without problems. I also tried to disable all other plugins but the problem remains. The issue is with this playlist id: PLIMcbjwimxki1XZJhQJrnNlCNHDhfyrl4
    Also the playlist is created with the same settings the other playlists are, so there is nothing different to the playlists that are working properly as far as I can tell.

    • This topic was modified 2 years, 10 months ago by radibor78.
    • This topic was modified 2 years, 10 months ago by radibor78.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter radibor78

    (@radibor78)

    The issue was caused by the web server being configured to use referrer-policy none header being automatically added. Videos with copyrighted content require the referrer being set by YouTube otherwise it will not play embedded. Therefore it only affected some playlists/videos.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    wow, did not know that and it would have been unlikely for me to uncover that myself I think! great job radibor78 !

    Thread Starter radibor78

    (@radibor78)

    I was trying to find the issue for days. Also, I was expecting that there is a proper error message from YouTube. If you for example link to a video with an age limit, the embedded player shows something like “This video has an age restriction and can only be viewed on YouTube” and I would have expected something similar in this case and not just “Video not available”. I also tried another plugin that is asking for accepting the connection to YouTube which had the same problem. What really confused me, was that with a test site in WP Local everything was working fine (but they probably don’t use this referrer-policy. But looking into the differences between the actual website and the WP Local test server website pointed me to the information regarding this behavior on YouTubes side. Sometimes you just have to be lucky to find this one piece of information that you need. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Some Playlists are not working (videos not available)’ is closed to new replies.