# How to embed external players?

**URL:** https://in-thread.sonic-pi.net/t/how-to-embed-external-players/5397
**Category:** Site Feedback
**Created:** [April 9, 2021, 8:59pm UTC](https://in-thread.sonic-pi.net/t/how-to-embed-external-players/5397 "2021-04-09T20:59:12Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![signal](https://avatars.discourse-cdn.com/v4/letter/s/71e660/32.png) [@signal](https://in-thread.sonic-pi.net/u/signal)
#### Post date: [April 9, 2021, 8:59pm UTC](https://in-thread.sonic-pi.net/t/how-to-embed-external-players/5397/1 "2021-04-09T20:59:12Z")

</div>

Hi!  
Is there a way to embed an external sound player? I’m using thefuture.fm and they have an iframe based player, but I can’t find any way to have it show up in my post.  
(Sorry if this has been asked a million times, didn’t find it using site search.)

---

<div class="post-metadata">

### Author: ![nlb](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/nlb/32/997_2.png) [@nlb](https://in-thread.sonic-pi.net/u/nlb)
#### Post date: [April 9, 2021, 9:09pm UTC](https://in-thread.sonic-pi.net/t/how-to-embed-external-players/5397/2 "2021-04-09T21:09:02Z")

</div>

You can use Soundcloud, dropbox itou

---

<div class="post-metadata">

### Author: ![signal](https://avatars.discourse-cdn.com/v4/letter/s/71e660/32.png) [@signal](https://in-thread.sonic-pi.net/u/signal)
#### Post date: [April 9, 2021, 9:24pm UTC](https://in-thread.sonic-pi.net/t/how-to-embed-external-players/5397/3 "2021-04-09T21:24:34Z")

</div>

How do you embed it?

---

<div class="post-metadata">

### Author: ![nlb](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/nlb/32/997_2.png) [@nlb](https://in-thread.sonic-pi.net/u/nlb)
#### Post date: [April 9, 2021, 9:42pm UTC](https://in-thread.sonic-pi.net/t/how-to-embed-external-players/5397/4 "2021-04-09T21:42:28Z")

</div>

In soundcloud look for share then copy paste the html here or the URL. I will look tomorrow if needed. See you

---

<div class="post-metadata">

### Author: ![d0lfyn](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/d0lfyn/32/2254_2.png) [@d0lfyn](https://in-thread.sonic-pi.net/u/d0lfyn)
#### Post date: [April 9, 2021, 9:56pm UTC](https://in-thread.sonic-pi.net/t/how-to-embed-external-players/5397/5 "2021-04-09T21:56:40Z")

</div>

I don’t know about thefuture.fm, but SoundCloud shows up if you put the link on its own line. I assume that’s what you’re asking about.

E.g.

![image](https://europe1.discourse-cdn.com/flex017/uploads/sonic_pi/original/2X/9/90ace23be41609e212d2844005b40409bcae02e2.png)

becomes the following:

https://w.soundcloud.com/player/?visual=false&url=https%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F950268745&show_artwork=true&maxheight=166

---

<div class="post-metadata">

### Author: ![mlange](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/mlange/32/1899_2.png) [@mlange](https://in-thread.sonic-pi.net/u/mlange)
#### Post date: [April 10, 2021, 12:34am UTC](https://in-thread.sonic-pi.net/t/how-to-embed-external-players/5397/6 "2021-04-10T00:34:43Z")

</div>

I have my recordings on future.fm too, and did unfortunately not manage to embed tracks from there. I think SoundCloud and future.fm both use IFrames, but I was not able to figure out why one is supported while the other is not (something Discord-specific?). I would also love to share recordings here by embedding them instead of just linking.

---

<div class="post-metadata">

### Author: ![ethancrawford](https://avatars.discourse-cdn.com/v4/letter/e/a88e4f/32.png) [@ethancrawford](https://in-thread.sonic-pi.net/u/ethancrawford)
#### Post date: [April 10, 2021, 6:18am UTC](https://in-thread.sonic-pi.net/t/how-to-embed-external-players/5397/7 "2021-04-10T06:18:56Z")

</div>

Hi folks,

If I’m reading things correctly, I think discourse has an “allowed iframes” setting that allows us to whitelist iframes from certain website domains, which would mean we could add thefuture.fm and others - and then you would paste the iframe embedding code here to make it show their audio player.  
@samaaron what say you?

---

<div class="post-metadata">

### Author: ![samaaron](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/samaaron/32/7_2.png) [@samaaron](https://in-thread.sonic-pi.net/u/samaaron)
#### Post date: [April 10, 2021, 9:16am UTC](https://in-thread.sonic-pi.net/t/how-to-embed-external-players/5397/8 "2021-04-10T09:16:49Z")

</div>

I believe that iframe embedding should now be enabled for [https://thefuture.fm](https://thefuture.fm) 🙂

---

<div class="post-metadata">

### Author: ![mlange](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/mlange/32/1899_2.png) [@mlange](https://in-thread.sonic-pi.net/u/mlange)
#### Post date: [April 10, 2021, 1:54pm UTC](https://in-thread.sonic-pi.net/t/how-to-embed-external-players/5397/9 "2021-04-10T13:54:26Z")

</div>

Test to embed IFrame as provided by TheFutureFM. The track should appear here:

Does not work in the preview…  
And also not after saving…

🙁

---

<div class="post-metadata">

### Author: ![samaaron](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/samaaron/32/7_2.png) [@samaaron](https://in-thread.sonic-pi.net/u/samaaron)
#### Post date: [April 10, 2021, 1:59pm UTC](https://in-thread.sonic-pi.net/t/how-to-embed-external-players/5397/10 "2021-04-10T13:59:15Z")

</div>

Sorry, I’m not quite sure what to do. Could you just post a link?

---

<div class="post-metadata">

### Author: ![mlange](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/mlange/32/1899_2.png) [@mlange](https://in-thread.sonic-pi.net/u/mlange)
#### Post date: [April 10, 2021, 2:12pm UTC](https://in-thread.sonic-pi.net/t/how-to-embed-external-players/5397/11 "2021-04-10T14:12:28Z")

</div>

Here is the embed code provided by TheFutureFM:

```ruby
<iframe width="100%" height="165" scrolling="no" frameborder="no" allow="autoplay" src="https://thefuture.fm/track/862/house-experiment-001-sonic-pi/embed"></iframe>

```

You find the track here:

[https://www.thefuture.fm/track/862/house-experiment-001-sonic-pi](https://www.thefuture.fm/track/862/house-experiment-001-sonic-pi)

---

<div class="post-metadata">

### Author: ![ethancrawford](https://avatars.discourse-cdn.com/v4/letter/e/a88e4f/32.png) [@ethancrawford](https://in-thread.sonic-pi.net/u/ethancrawford)
#### Post date: [April 10, 2021, 2:19pm UTC](https://in-thread.sonic-pi.net/t/how-to-embed-external-players/5397/12 "2021-04-10T14:19:24Z")

</div>

That’s a shame, I thought it was going to be a nice easy new feature ☹

---

<div class="post-metadata">

### Author: ![samaaron](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/samaaron/32/7_2.png) [@samaaron](https://in-thread.sonic-pi.net/u/samaaron)
#### Post date: [April 10, 2021, 2:45pm UTC](https://in-thread.sonic-pi.net/t/how-to-embed-external-players/5397/13 "2021-04-10T14:45:48Z")

</div>

[https://www.thefuture.fm/track/862/house-experiment-001-sonic-pi](https://www.thefuture.fm/track/862/house-experiment-001-sonic-pi)

---

<div class="post-metadata">

### Author: ![mlange](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/mlange/32/1899_2.png) [@mlange](https://in-thread.sonic-pi.net/u/mlange)
#### Post date: [April 10, 2021, 9:18pm UTC](https://in-thread.sonic-pi.net/t/how-to-embed-external-players/5397/14 "2021-04-10T21:18:44Z")

</div>

Embedding from TheFutureFM works now (with IFrames)! See [this data sonification thread](https://in-thread.sonic-pi.net/t/the-nasty-covid-19-soundtrack-of-your-country-data-sonification/5402) for an example.

Thanks a lot for activating this feature!

---

<div class="post-metadata">

### Author: ![signal](https://avatars.discourse-cdn.com/v4/letter/s/71e660/32.png) [@signal](https://in-thread.sonic-pi.net/u/signal)
#### Post date: [April 10, 2021, 10:35pm UTC](https://in-thread.sonic-pi.net/t/how-to-embed-external-players/5397/15 "2021-04-10T22:35:27Z")

</div>

Thank you for your quick response!
