# Feature Request: Youtube playlist function

**URL:** https://meta.discourse.org/t/feature-request-youtube-playlist-function/39417
**Category:** Feature
**Created:** [February 11, 2016, 6:23pm UTC](https://meta.discourse.org/t/feature-request-youtube-playlist-function/39417 "2016-02-11T18:23:57Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![mbybee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mbybee/32/121971_2.png) [@mbybee](https://meta.discourse.org/u/mbybee)
#### Post date: [February 11, 2016, 6:23pm UTC](https://meta.discourse.org/t/feature-request-youtube-playlist-function/39417/1 "2016-02-11T18:23:57Z")

</div>

I’ve been trying to find a way to include a client-side playlist (similar to [Youtube Playlist](http://zaius.github.io/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](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.

---

<div class="post-metadata">

### Author: ![ccdw](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ccdw/32/51564_2.png) [@ccdw](https://meta.discourse.org/u/ccdw)
#### Post date: [February 11, 2016, 7:43pm UTC](https://meta.discourse.org/t/feature-request-youtube-playlist-function/39417/2 "2016-02-11T19:43:26Z")

</div>

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.](http://www.masterslider.com/features/templates/video-gallery-horizontal-thumbs/)

 ![](https://global.discourse-cdn.com/meta/original/3X/d/4/d4ffc890e9397ba4fd0765c26612d300fe2042e6.png)

---

<div class="post-metadata">

### Author: ![mbybee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mbybee/32/121971_2.png) [@mbybee](https://meta.discourse.org/u/mbybee)
#### Post date: [February 11, 2016, 8:01pm UTC](https://meta.discourse.org/t/feature-request-youtube-playlist-function/39417/3 "2016-02-11T20:01:45Z")

</div>

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

---

<div class="post-metadata">

### Author: ![ccdw](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ccdw/32/51564_2.png) [@ccdw](https://meta.discourse.org/u/ccdw)
#### Post date: [February 11, 2016, 8:36pm UTC](https://meta.discourse.org/t/feature-request-youtube-playlist-function/39417/4 "2016-02-11T20:36:35Z")

</div>

Sorry not sure I made my reply very clear.

1 and 2 are different solutions. 🙂

---

<div class="post-metadata">

### Author: ![mbybee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mbybee/32/121971_2.png) [@mbybee](https://meta.discourse.org/u/mbybee)
#### Post date: [February 11, 2016, 9:01pm UTC](https://meta.discourse.org/t/feature-request-youtube-playlist-function/39417/5 "2016-02-11T21:01:20Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![mbybee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mbybee/32/121971_2.png) [@mbybee](https://meta.discourse.org/u/mbybee)
#### Post date: [February 11, 2016, 9:20pm UTC](https://meta.discourse.org/t/feature-request-youtube-playlist-function/39417/6 "2016-02-11T21:20:15Z")

</div>

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

It does _here_ but not on the [Communiteq](https://www.communiteq.com) (formerly DiscourseHosting) setup. Perhaps that one is behind on versions?

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [February 11, 2016, 9:44pm UTC](https://meta.discourse.org/t/feature-request-youtube-playlist-function/39417/7 "2016-02-11T21:44:00Z")

</div>

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

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

```

vs.

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

```

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

> [@mbybee](#):
>
> It does here but not on the [Communiteq](https://www.communiteq.com) (formerly DiscourseHosting) setup.

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

---

<div class="post-metadata">

### Author: ![mbybee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mbybee/32/121971_2.png) [@mbybee](https://meta.discourse.org/u/mbybee)
#### Post date: [February 11, 2016, 10:00pm UTC](https://meta.discourse.org/t/feature-request-youtube-playlist-function/39417/8 "2016-02-11T22:00:05Z")

</div>

> [@Mittineague](#):
>
> > [@mbybee](#):
> >
> > It does here but not on the [Communiteq](https://www.communiteq.com) (formerly DiscourseHosting) setup.
> 
> Yes, IIRC this has been fixed, but I forgwt where I saw the discussion.  
> Maybe a version update is in order?

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 😄

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

---

<div class="post-metadata">

### Author: ![PetrieTheWild](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/petriethewild/32/64481_2.png) [@PetrieTheWild](https://meta.discourse.org/u/PetrieTheWild)
#### Post date: [November 28, 2016, 5:21pm UTC](https://meta.discourse.org/t/feature-request-youtube-playlist-function/39417/9 "2016-11-28T17:21:35Z")

</div>

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

---

<div class="post-metadata">

### Author: ![murilloves](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/murilloves/32/74577_2.png) [@murilloves](https://meta.discourse.org/u/murilloves)
#### Post date: [June 29, 2017, 2:43pm UTC](https://meta.discourse.org/t/feature-request-youtube-playlist-function/39417/11 "2017-06-29T14:43:01Z")

</div>

https://www.youtube.com/embed/JGwWNGJdvx8?feature=oembed&wmode=opaque&list=PLx0sYbCqOb8TBPRdmBHs5Iftvv9TPboYG

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [June 29, 2017, 2:43pm UTC](https://meta.discourse.org/t/feature-request-youtube-playlist-function/39417/12 "2017-06-29T14:43:50Z")

</div>

Looks like it is a playlist and is working …
