# Play music on topic

**URL:** https://meta.discourse.org/t/play-music-on-topic/89053
**Category:** Feature
**Created:** [June 3, 2018, 6:12pm UTC](https://meta.discourse.org/t/play-music-on-topic/89053 "2018-06-03T18:12:19Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![barreeeiroo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/barreeeiroo/32/165264_2.png) [@barreeeiroo](https://meta.discourse.org/u/barreeeiroo)
#### Post date: [June 3, 2018, 6:12pm UTC](https://meta.discourse.org/t/play-music-on-topic/89053/1 "2018-06-03T18:12:19Z")

</div>

**Is there a working method to play music in the background of a topic?**

The idea is that, when users enter on a topic they will hear a song playing in the background  
I saw a plugin, but it’s no longer working

* * *

For example, we would like that on this topic the YouTube “The Final Countdown” video will play automatically:  
[https://community.makeroid.io/t/makeroid-relaunch-date/5132?u=barreeeiroo](https://community.makeroid.io/t/makeroid-relaunch-date/5132?u=barreeeiroo)

Maybe adding a MP3 file or whatever and set an autoplay or something 🤔

---

<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: [June 3, 2018, 6:21pm UTC](https://meta.discourse.org/t/play-music-on-topic/89053/2 "2018-06-03T18:21:15Z")

</div>

There is [Media Autoplay](https://meta.discourse.org/t/media-autoplay-plugin-discourse-plugin-autoplay/40595) but [Google Chrome blocks it from working](https://developers.google.com/web/updates/2017/09/autoplay-policy-changes), unless your users are watching videos with sound on almost every visit to your domain.

---

<div class="post-metadata">

### Author: ![Nichalas\_Petranek](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nichalas_petranek/32/92404_2.png) [@Nichalas\_Petranek](https://meta.discourse.org/u/Nichalas_Petranek)
#### Post date: [June 3, 2018, 6:22pm UTC](https://meta.discourse.org/t/play-music-on-topic/89053/3 "2018-06-03T18:22:29Z")

</div>

Alternately, I wonder if there is a way to have site-level or category level background music through means of a plugin or something… Although I suppose having site-level background music is no different than opening up your favorite streaming service and have that play in the background.

I’m on an aviation-based forum and a few categories are dedicated to specific airlines. Some of those airlines feature native boarding music on their aircraft. Being able to incorporate, for example, the boarding music of Qatar Airways to play in the background of the Qatar Airways category would be pretty sweet!

---

<div class="post-metadata">

### Author: ![barreeeiroo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/barreeeiroo/32/165264_2.png) [@barreeeiroo](https://meta.discourse.org/u/barreeeiroo)
#### Post date: [June 3, 2018, 6:24pm UTC](https://meta.discourse.org/t/play-music-on-topic/89053/4 "2018-06-03T18:24:23Z")

</div>

Oh, I didn’t know that…  
Probably that was the reason why it wasn’t working

Any alternative?

---

<div class="post-metadata">

### Author: ![Nichalas\_Petranek](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nichalas_petranek/32/92404_2.png) [@Nichalas\_Petranek](https://meta.discourse.org/u/Nichalas_Petranek)
#### Post date: [June 3, 2018, 6:44pm UTC](https://meta.discourse.org/t/play-music-on-topic/89053/5 "2018-06-03T18:44:28Z")

</div>

After skimming through the documentation provided by Google, I wonder if there is a way to store the music/media on the forum and have it play based on a trigger of sorts that circumvents the automatic aspect… For lack of programming knowledge, I’m not even going to try to type out some sample code to illustrate. Hopefully I’ve explained clearly enough and I can try to clarify where need be.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [June 3, 2018, 11:11pm UTC](https://meta.discourse.org/t/play-music-on-topic/89053/6 "2018-06-03T23:11:22Z")

</div>

> [@barreeeiroo](#):
>
> Any alternative?

If you want web pages to auto-play music, the easiest thing to do would be to go back about 10-15 years. Almost everyone on the planet hates web pages that make noise they didn’t explicitly ask for, so they all use browsers that keep that from happening. 😉

---

<div class="post-metadata">

### Author: ![cmwebdev](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cmwebdev/32/122368_2.png) [@cmwebdev](https://meta.discourse.org/u/cmwebdev)
#### Post date: [June 3, 2018, 11:24pm UTC](https://meta.discourse.org/t/play-music-on-topic/89053/7 "2018-06-03T23:24:44Z")

</div>

Agreed.

If you just google “website music autoplay” there are numerous articles that go over the reasons that you should never have autoplay.

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [June 4, 2018, 3:21am UTC](https://meta.discourse.org/t/play-music-on-topic/89053/8 "2018-06-04T03:21:18Z")

</div>

An acceptable alternate form of this feature would be a floating “music player” added on the page. By using a native `<audio controls loop>`, the user would be able to control whether it was playing.

---

<div class="post-metadata">

### Author: ![fbpbdmin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fbpbdmin/32/300893_2.png) [@fbpbdmin](https://meta.discourse.org/u/fbpbdmin)
#### Post date: [October 24, 2023, 4:24am UTC](https://meta.discourse.org/t/play-music-on-topic/89053/9 "2023-10-24T04:24:32Z")

</div>

> [@Nichalas\_Petranek](#):
>
> I wonder if there is a way to have site-level or category level background music through means of a plugin or something…

wonder if this is possible now, this is a cool idea.

---

<div class="post-metadata">

### Author: ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)
#### Post date: [October 24, 2023, 4:31am UTC](https://meta.discourse.org/t/play-music-on-topic/89053/10 "2023-10-24T04:31:13Z")

</div>

I doubt it. Autoplaying media hasn’t gotten any less annoying over the past five years.

---

<div class="post-metadata">

### Author: ![fbpbdmin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fbpbdmin/32/300893_2.png) [@fbpbdmin](https://meta.discourse.org/u/fbpbdmin)
#### Post date: [October 24, 2023, 4:36am UTC](https://meta.discourse.org/t/play-music-on-topic/89053/11 "2023-10-24T04:36:49Z")

</div>

hmm, it is not annoying with some light background music, and a pause button.

actually, seems it should be doable, adding a player to the banner area …
