• Thank you for the great plugin!
    It would be perfect for the project I am working on, which involves SoundCloud and YouTube embeds both as single items and playlists. But YouTube playlists are returning “An error occurred. Please try again later” message whatever I try. I have left the test page link where all the four embeds could be inspected (YT&SC as single items and playlists), and only YT playlist is not working.
    Any idea what goes wrong?
    Thanks!

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter vlidi

    (@vlidi)

    There is a way around this. It took me some time to understand what was happening.

    THE PROBLEM:

    YouTube provides the ‘list’ parameter with [&] following the video ID [id=”VIDEO_ID&list=PLAYLIST_ID]
    The plugin-generated shortcode saves the ampersand [&] as entity [&], and YouTube will return the error instead of playlist.

    THE FIX:

    Replace the ampersand character [&] with quotation mark [?] manually in the plugin-generated shortcode.

    THE PERMANENT SOLUTION:

    I found some perhaps useful stuff HERE, HERE, and HERE.

    Once again, thanks for the great plugin!

    Thread Starter vlidi

    (@vlidi)

    Sorry, the fix is not working. It simply cuts off the rest of the YouTube playlist URL and only displays the first video as a single item embed.
    I am trying now to modify this plugin I have used before Velocity to manipulate the thumbnail images of the video embed (it has no problems with playlists as it doesn’t use shortcodes). But it would be so much better and easier if only Velocity could work. So once again:

    THE PROBLEM: YouTube playlists are not working because the [&] character in the plugin-generated shortcode gets saved as HTML entity [&] in the Shortcode or HTML block.

    Any ideas? Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘YouTube playlists not working’ is closed to new replies.