• Resolved JP

    (@jpress)


    Hello,

    I’ve been enjoying this plugin very much, thanks for the contribution!

    I’ve recently come across an issue where one particular playlist/player doesn’t seem to work with the “httpv” code (or with the shortcode). Currently, the following is showing up as plain text on the page and not being converted to a player:
    httpv://www.youtube.com/playlist?list=UU4HmE_qxN_5opkouYU-FweQ

    Here’s a link to the page:
    livingmiraclesstudio.org/touroftheheart (the link appears about halfway down the page under the “Happy tour trailer!” heading)

    I’ve tried this particular link on other WordPress sites as well with the same result.

    Any suggestions or advice would be greatly appreciated!

    Thanks,
    Jason

    https://wordpress.org/plugins/wp-youtube-lyte/

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

    (@futtta)

    Ah, you seem to have discovered a bug jpress.

    If you open up wp-content/plugins/wp-youtube-lyte/wp-youtube-lyte.php and on line 95 change

    $lytes_regexp="/(?:<p>)?http(v|a):\/\/([a-zA-Z0-9\-\_]+\.|)(youtube|youtu)(\.com|\.be)\/(((watch(\?v\=|\/v\/)|.+?v\=|)([a-zA-Z0-9\-\_]{11}))|(playlist\?list\=(PL[a-zA-Z0-9\-\_]*)))([^\s<]*)(<?:\/p>)?/";

    into

    $lytes_regexp="/(?:<p>)?http(v|a):\/\/([a-zA-Z0-9\-\_]+\.|)(youtube|youtu)(\.com|\.be)\/(((watch(\?v\=|\/v\/)|.+?v\=|)([a-zA-Z0-9\-\_]{11}))|(playlist\?list\=([a-zA-Z0-9\-\_]*)))([^\s<]*)(<?:\/p>)?/";

    then all should be fine. I’ll include this in the next minor release.

    Thread Starter JP

    (@jpress)

    That worked perfectly, thanks for the prompt reply!!

    Jason

    Plugin Author Frank Goossens

    (@futtta)

    FYI: That fix is now also in 1.5.0 which was pushed out earlier today.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Individual Playlist Not Working’ is closed to new replies.