# Audio player (plugin?) request

**URL:** https://meta.discourse.org/t/audio-player-plugin-request/54184
**Category:** Feature
**Created:** [December 13, 2016, 5:03pm UTC](https://meta.discourse.org/t/audio-player-plugin-request/54184 "2016-12-13T17:03:30Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![bholst](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bholst/32/65051_2.png) [@bholst](https://meta.discourse.org/u/bholst)
#### Post date: [December 13, 2016, 5:03pm UTC](https://meta.discourse.org/t/audio-player-plugin-request/54184/1 "2016-12-13T17:03:30Z")

</div>

This one is a stretch, but I thought I’d see if any of you guys would be up for a challenge.

A couple of us have recently started up a Discourse forum (so far, so good btw) related to music recording, mixing, etc.  
In the site, we have a section where people can post a mix that they are working on so that others can contribute ideas for fixes (ie, adjust EQ on vocals, ext).

I’m curious if it would be possible to make an audio player that allows you to hear the 10 most recent uploads (for example). It’d be handy for mix contests too!

Like I said, this is a stretch. Especially one that was automated. However, it’d be cool to have a playlist player either way. Even if it had to be done manually.

---

<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: [December 13, 2016, 5:12pm UTC](https://meta.discourse.org/t/audio-player-plugin-request/54184/2 "2016-12-13T17:12:33Z")

</div>

A sound cloud onebox set is very close to what you want:

`https://soundcloud.com/mattlange/sets/dota-2-abstraction`  
https://w.soundcloud.com/player/?visual=false&url=https%3A%2F%2Fapi.soundcloud.com%2Fplaylists%2F192550306&show_artwork=true

With the bonus of not having to host music files yourself.

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [January 2, 2017, 11:04am UTC](https://meta.discourse.org/t/audio-player-plugin-request/54184/3 "2017-01-02T11:04:01Z")

</div>

> [@bholst](#):
>
> However, it’d be cool to have a playlist player either way. Even if it had to be done manually.

A playlist player, where the playlist was created inside of a single post, would be fairly straightforward for someone to make. I’ve been trying out a couple of javascript audio libraries in Discourse plugins. This one seems quite promising: [https://howlerjs.com/](https://howlerjs.com/)

I’m using it here: [https://constructivelearningspace.com/t/testing-the-improved-freesound-onebox/119](https://constructivelearningspace.com/t/testing-the-improved-freesound-onebox/119) (this may not be working, Freesound isn’t the most reliable website.)

> [@bholst](#):
>
> I’m curious if it would be possible to make an audio player that allows you to hear the 10 most recent uploads (for example). It’d be handy for mix contests too!

I think this would be fairly difficult to do with audio files that are added through Discourse posts. One approach would be to set up an external website for hosting and managing your audio files, for example, if you used WordPress for the external site, each audio file could be a WordPress post. Doing it that way, it would be easy to do things like find the 10 most recent audio files, or have contests that involve audio files. People could interact with the audios on your forum through a onebox.

---

<div class="post-metadata">

### Author: ![dudeowl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dudeowl/32/75884_2.png) [@dudeowl](https://meta.discourse.org/u/dudeowl)
#### Post date: [February 2, 2018, 9:10am UTC](https://meta.discourse.org/t/audio-player-plugin-request/54184/4 "2018-02-02T09:10:04Z")

</div>

I am sorry maybe this question is dumb or some,  
do we have ability to attach Spotify playlist on this platform?

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [February 2, 2018, 9:21am UTC](https://meta.discourse.org/t/audio-player-plugin-request/54184/5 "2018-02-02T09:21:24Z")

</div>

Just paste the URL of the playlist 😉

[https://open.spotify.com/user/spotify/playlist/37i9dQZF1DXa4YHmLP4LeE?si=zUPGRrEzQxSB2wssAjWvXw](https://open.spotify.com/user/spotify/playlist/37i9dQZF1DXa4YHmLP4LeE?si=zUPGRrEzQxSB2wssAjWvXw)

---

<div class="post-metadata">

### Author: ![dudeowl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dudeowl/32/75884_2.png) [@dudeowl](https://meta.discourse.org/u/dudeowl)
#### Post date: [February 2, 2018, 9:40am UTC](https://meta.discourse.org/t/audio-player-plugin-request/54184/6 "2018-02-02T09:40:47Z")

</div>

I mean you know like a frame embed or some!? Maybe?

 ![image](https://global.discourse-cdn.com/meta/original/3X/8/3/83adc6053e72318d00b53ea0cc1d465c5a107a51.png)

---

<div class="post-metadata">

### Author: ![mikechristopher](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikechristopher/32/89135_2.png) [@mikechristopher](https://meta.discourse.org/u/mikechristopher)
#### Post date: [February 2, 2018, 9:52am UTC](https://meta.discourse.org/t/audio-player-plugin-request/54184/7 "2018-02-02T09:52:41Z")

</div>

@dudeowl You could probably do it by going to your settings in discourse and adding the [open.spotify.com/embed](http://open.spotify.com/embed) URL to your “allowed iframes” list

---

<div class="post-metadata">

### Author: ![dudeowl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dudeowl/32/75884_2.png) [@dudeowl](https://meta.discourse.org/u/dudeowl)
#### Post date: [February 2, 2018, 10:10am UTC](https://meta.discourse.org/t/audio-player-plugin-request/54184/8 "2018-02-02T10:10:46Z")

</div>

Sorry again, but how?  
Could you give an example here?

---

<div class="post-metadata">

### Author: ![mikechristopher](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikechristopher/32/89135_2.png) [@mikechristopher](https://meta.discourse.org/u/mikechristopher)
#### Post date: [February 2, 2018, 10:19am UTC](https://meta.discourse.org/t/audio-player-plugin-request/54184/9 "2018-02-02T10:19:20Z")

</div>

![image](https://global.discourse-cdn.com/meta/original/3X/8/1/81a1452ca38f107dbfb515983e9e22c2fe5ae231.png)

---

<div class="post-metadata">

### Author: ![dudeowl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dudeowl/32/75884_2.png) [@dudeowl](https://meta.discourse.org/u/dudeowl)
#### Post date: [February 2, 2018, 10:27am UTC](https://meta.discourse.org/t/audio-player-plugin-request/54184/10 "2018-02-02T10:27:51Z")

</div>

Thanks Mike, really appreciated!
