Please correct the errors below.

Embed whitelists

In order to embed one of your slices in a website, you need to add your website to your whitelist.

Whitelists are a security measure. Without whitelists, anybody with a bit of HTML knowledge could copy your embed codes into their own website — stealing your content (and possibly costing you some money in Soundslice fees).

To edit your whitelist:

1. Go to the Edit embed whitelist page, accessible via your account settings.

2. Enter the domain(s) your website uses, one per line. Examples of domains are:

  • example.com
  • www.example.com
  • lovely-lessons.example.com

Note these do not include “http://” or “https://” nor any slashes. It’s only the domain.

Also note that “www.example.com” and “example.com” are treated as two separate domains. Make sure to include both, if appropriate.

As soon as you save your whitelist, the changes take effect immediately.

What happens if my slice is embedded on a domain that’s not on the whitelist?

The slice won’t display. The user will see an error message saying the current domain isn’t on your whitelist. You will not get charged for this user/view.

What if I don’t know my site’s domain?

This can happen if you’re using a third-party tool or publishing system. No problem! Just copy the embed code into your site and try to view it in your site. You’ll see the error message, and it will tell you exactly which domain to add to your whitelist.

I’m using a publishing system and the Soundslice embed is failing the whitelist check while “previewing” or “editing” my page. Is there a way around this?

Odds are that your publishing system is publishing to a temporary URL when generating its preview. Try to find out what that temporary URL is, and add that domain to your whitelist.

If you can’t figure out what domain it is, it might be the case that your publishing system’s preview system isn’t compatible with our whitelist system (because it doesn’t send a Referrer header). Unfortunately there’s nothing you can do in this situation; you’ll have to live without Soundslice previews inside your publishing system.

I’m a developer. What domain should I use if my website code is running locally machine?

Feel free to add “127.0.0.1” and/or “localhost” to your whitelist as appropriate.

How does the whitelist work from within a native app?

It’s slightly complicated but doable. See here for details.