# Existe uma maneira padrão de fornecer algo persistente para um usuário?

**URL:** https://meta.discourse.org/t/is-there-a-standard-way-of-serving-something-persistent-to-a-user/118916
**Category:** Support
**Created:** [28 Maio , 2019 20:26 UTC](https://meta.discourse.org/t/is-there-a-standard-way-of-serving-something-persistent-to-a-user/118916 "2019-05-28T20:26:53Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![DNSTARS](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dnstars/32/100957_2.png) [@DNSTARS](https://meta.discourse.org/u/DNSTARS)
#### Post date: [28 Maio , 2019 20:26 UTC](https://meta.discourse.org/t/is-there-a-standard-way-of-serving-something-persistent-to-a-user/118916/1 "2019-05-28T20:26:53Z")

</div>

Hi Guys,

What’s the best way to have something embedded (in our case a DJ set) playing on discourse but not break when the user is navigating around the site?

---

<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: [28 Maio , 2019 21:25 UTC](https://meta.discourse.org/t/is-there-a-standard-way-of-serving-something-persistent-to-a-user/118916/2 "2019-05-28T21:25:14Z")

</div>

If you are able to embed the DJ set in either the Header or the After Header section of your theme, it will be persistent until a user reloads the page (or visits the admin section of the site.)

This works with SoundCloud playlists if you copy the SoundCloud iframe code into a site customization.

---

<div class="post-metadata">

### Author: ![DNSTARS](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dnstars/32/100957_2.png) [@DNSTARS](https://meta.discourse.org/u/DNSTARS)
#### Post date: [28 Maio , 2019 21:30 UTC](https://meta.discourse.org/t/is-there-a-standard-way-of-serving-something-persistent-to-a-user/118916/3 "2019-05-28T21:30:44Z")

</div>

Thanks Simon I’ll give that a whirl cheers. Works like a charm nice one 👍

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [27 Junho , 2019 21:30 UTC](https://meta.discourse.org/t/is-there-a-standard-way-of-serving-something-persistent-to-a-user/118916/4 "2019-06-27T21:30:58Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
