# Autoplay YouTube videos (opt-in)

**URL:** https://meta.discourse.org/t/autoplay-youtube-videos-opt-in/40370
**Category:** Marketplace
**Created:** [1 maart 2016 om 04:28 UTC](https://meta.discourse.org/t/autoplay-youtube-videos-opt-in/40370 "2016-03-01T04:28:04Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![charleswalter](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/charleswalter/32/116433_2.png) [@charleswalter](https://meta.discourse.org/u/charleswalter)
#### Post date: [1 maart 2016 om 04:28 UTC](https://meta.discourse.org/t/autoplay-youtube-videos-opt-in/40370/1 "2016-03-01T04:28:04Z")

</div>

I know this may sound potentially annoying for many users, but I surveyed about 100 users asking what features they’d most like to see, and the #1 response was autoplay on YouTube videos with sound. We have a number of music oriented categories, and users want a more lively experience by having the sound start the moment they open the topic.

I’m just wondering if someone would be interested in creating a plugin that could make this an option in the user preferences, similar to the way we have enabled users to opt-in to signatures. We would pay for development of this plugin, if it is indeed possible.

Thanks.

---

<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: [1 maart 2016 om 05:05 UTC](https://meta.discourse.org/t/autoplay-youtube-videos-opt-in/40370/2 "2016-03-01T05:05:11Z")

</div>

> [@charleswalter](#):
>
> 1 response was autoplay on YouTube videos with sound.

Oh my … Imagine visiting [Awesome Song Thread! - general topics - Boing Boing BBS](https://bbs.boingboing.net/t/awesome-song-thread/40241) it would be a cocophony of crazyland.

If someone built this, which to be honest, I feel is very ill advised, I would strongly recommend they take that into account.

Going to move this into marketplace cause this is not the sort of crazy the Discourse team will participate in 😉

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [1 maart 2016 om 07:17 UTC](https://meta.discourse.org/t/autoplay-youtube-videos-opt-in/40370/3 "2016-03-01T07:17:40Z")

</div>

This… is a profoundly bad idea. It makes an opt-in comments plugin look like a work of genius. 😆

---

<div class="post-metadata">

### Author: ![charleswalter](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/charleswalter/32/116433_2.png) [@charleswalter](https://meta.discourse.org/u/charleswalter)
#### Post date: [1 maart 2016 om 11:45 UTC](https://meta.discourse.org/t/autoplay-youtube-videos-opt-in/40370/4 "2016-03-01T11:45:13Z")

</div>

I hear you guys. But I literally tell you it is the most requested feature. I imagine it would only apply to the first video of the topic.

I have tried speaking with several users explaining the challenges, and how it would be a bad experience for many. But it does not change their opinion.

Users are extremely thankful for the opt-in signatures. They say this is the next feature that the would really love.

---

<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: [1 maart 2016 om 13:01 UTC](https://meta.discourse.org/t/autoplay-youtube-videos-opt-in/40370/5 "2016-03-01T13:01:52Z")

</div>

I’ve been trialling with a pro film and tv (VFX) audience and they’ve mentioned something similar in what they’ve collectively called a ‘cinema’ feature.

Relatively easily done client side, but it’s not top of my priority list right now.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [1 maart 2016 om 14:36 UTC](https://meta.discourse.org/t/autoplay-youtube-videos-opt-in/40370/6 "2016-03-01T14:36:33Z")

</div>

Hey @charleswalter,

Can you link me a topic where this would be used?

---

<div class="post-metadata">

### Author: ![charleswalter](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/charleswalter/32/116433_2.png) [@charleswalter](https://meta.discourse.org/u/charleswalter)
#### Post date: [1 maart 2016 om 16:46 UTC](https://meta.discourse.org/t/autoplay-youtube-videos-opt-in/40370/7 "2016-03-01T16:46:16Z")

</div>

Great to hear from you @Falco. Here are two examples.

Two examples…

with YouTube video  
[https://www.helloforos.com/t/hasta-que-se-seque-el-malecon-jacob-forever/85795](https://www.helloforos.com/t/hasta-que-se-seque-el-malecon-jacob-forever/85795)

with MP3 link  
[https://www.helloforos.com/t/los-rehenes-limosnero-de-carino/86064](https://www.helloforos.com/t/los-rehenes-limosnero-de-carino/86064)

---

<div class="post-metadata">

### Author: ![dtchau](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dtchau/32/121852_2.png) [@dtchau](https://meta.discourse.org/u/dtchau)
#### Post date: [4 maart 2016 om 19:45 UTC](https://meta.discourse.org/t/autoplay-youtube-videos-opt-in/40370/8 "2016-03-04T19:45:48Z")

</div>

Hi @charleswalter, try this plugin I just made - [GitHub Repo: discourse-plugin-autoplay](https://github.com/dtchau/discourse-plugin-autoplay).

> [@Media Autoplay](https://meta.discourse.org/t/media-autoplay-plugin-discourse-plugin-autoplay/40595):
>
> Hello everyone, I was learning to develop plugins when I came across [this topic](https://meta.discourse.org/t/autoplay-youtube-videos-opt-in/40370) and decided to make a plugin for it. Here are what the [discourse-plugin-autoplay (GitHub Repo)](https://github.com/dtchau/discourse-plugin-autoplay) plugin is going to do: Once a topic is loaded, the plugin will observe any changes made to the document object for the #post\_1 element. As soon as that element is found, the plugin will stop observing document. Within the #post\_1 node, if Youtube links are found, the first one will be played; if not, then the first audi…

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [10 oktober 2016 om 19:17 UTC](https://meta.discourse.org/t/autoplay-youtube-videos-opt-in/40370/9 "2016-10-10T19:17:15Z")

</div>


