test playlist youtube April 26, 2017, 06:04:06 am testhttps://www.youtube.com/playlist?list=PL-72lYkqnSfXj7LaTlGfsLhYoNO2xjKkclink to playlist https://www.youtube.com/playlist?list=PL-72lYkqnSfXj7LaTlGfsLhYoNO2xjKkc
Re: test playlist youtube Reply #1 – April 26, 2017, 06:44:18 am I didn't even know that was possible. Here are my notes from when I improved YT-embedding.The regex could be extended to support ?list=PL-72lYkqnSfXj7LaTlGfsLhYoNO2xjKkc, but looking at it right now I'm not entirely sure why we're not simply using search params (e.g., split on &) without worrying about specifics.
Re: test playlist youtube Reply #2 – April 26, 2017, 09:45:53 am Initially was just a test, but I think now should be moved to bug reports I edited the first post of this topic adding the link to the playlist. If you copy and paste the link into browser the playlists shows correctly, but if you paste it into a post there is no way to see correctly the link.
Re: test playlist youtube Reply #3 – April 26, 2017, 09:52:24 am There's always a link on top. There is also a protection against auto-embed built into the script.Same line: https://www.youtube.com/playlist?list=PL-72lYkqnSfXj7LaTlGfsLhYoNO2xjKkcEdit: anyway, I suppose if we change the last regex to something like this:Code: [Select](?:\/)([\w-]{11})
Re: test playlist youtube Reply #4 – April 26, 2017, 09:58:09 am Quote from: Frenzie – April 26, 2017, 09:52:24 amSame lineYep, I forgot about this little trick. Problem solved
Re: test playlist youtube Reply #5 – April 26, 2017, 10:11:37 am PR submitted: https://github.com/elkarte/Elkarte/pull/2922