Feature Request: Youtube playlist function

AI-generated summary

Feature Request: Youtube Playlist Function

The discussion revolves around implementing a client-side YouTube playlist feature, similar to http://zaius.github.io/youtube_playlist/, to enhance music video threads on the forum.

mbybee initiated the discussion and explored possible solutions, including using the YouTube API to create on-demand playlists. ccdw suggested two approaches: utilizing the YouTube API or developing a plugin to support mixed media sources.

mbybee and ccdw exchanged ideas, with mbybee focusing on the YouTube API solution. However, mbybee encountered issues with oneboxing playlists on the Communiteq setup.

Mittineague proposed that the problem might be related to the URL structure, specifically the &list= parameter being sanitized out. mbybee confirmed this possibility and contacted the Communiteq support team to investigate a potential version update.

Later, PetrieTheWild raised a concern about the playlist feature not working with video scaling, but no solution was provided. murilloves shared a working YouTube playlist link, which sam confirmed to be functioning correctly.

I’ve been trying to find a way to include a client-side playlist (similar to Youtube Playlist ) as some sort of button or something.

It’d be great for forum threads that basically become big long music video threads, like: http://rationalviews.com/t/random-music-thread/27

I haven’t been able to figure out how to add a button like this. If anyone has any ideas, or would like to include this as an ability for the forum (like tagging a thread to turn on this ability, for example), that’d be awesome.

Thinking…

  1. Create on demand playlists via the YouTube API and embed the playlist in the topic. Not tried this, but reading the YT docs, I can’t see why this wouldn’t work. Issues: YT only and keeping the playlist updated as more videos are added… etc.

  2. This would work for mixed YT, Vimeo, HTML5 etc as I’ve done similar for clients. On demand via plugin or client side.

Master Slider - jQuery plugin.

1 curtida

I’ll take a look into that! Haven’t tried playing with that api much

1 curtida

Sorry not sure I made my reply very clear.

1 and 2 are different solutions. :slightly_smiling:

1 curtida

Yes. The api being the freebie, it’s what I’m looking into first.

Nothing seems quite as simple or elegant as that little browser plug-in, so far.

Ok - so simply adding the playlist isn’t oneboxing properly.

It does here but not on the Communiteq (formerly DiscourseHosting) setup. Perhaps that one is behind on versions?

Has it to do with the different URL structure? i.e.

www.youtube.com/watch?v=[video id here]

vs.

www.youtube.com/watch?v=[video id here]&list=[list id here]

Is it that the &list= is getting sanitized out?

Yes, IIRC this has been fixed, but I forgwt where I saw the discussion.
Maybe a version update is in order?

2 curtidas

Very possibly. I’ve contacted them to confirm that. My guess is that it does need to be updated, but I don’t see anything in the dashboard for that. Not exactly like I can do any git updates :smile:

Regarding sanitized strings, that’s probably it in a nutshell.

Hmm, it seems like this doesn’t work with video scaling. Anyone know of any plans to support this?

Looks like it is a playlist and is working …

1 curtida