---
title: Troubleshooting
description: "Start with what the player shows, or what your browser's console says. Most problems come down to an ID, an origin Spine hasn't registered, or a page setting that holds the player back."
---

## Tools

- **The debug panels.** Add `debug=1` to an iframe URL, the `debug` attribute to `<spine-player>`, or `debug: true` to your options. A button appears in the control bar. **Stream Info** (key `i`) shows the player's release, your embed and channel, what plays and why, and the stream's qualities. **Network & Latency** (key `l`) shows latency, buffer, bandwidth and the player's decisions over the last three minutes. Neither shows a stream address or token, so screenshots are safe to send to Spine.
- **The browser's console** names a frame the browser refused, a script or request your Content Security Policy blocked, and a licence the video engine rejected.
- **The Network tab** shows what Spine's host answered the player.

**What to look for in the Network tab**

The player asks Spine's host for `/v1/player/config?embedId=…`, with `&channel=…` when the embed names a slug, `&channelId=…` when it names a channel ID, and neither for your site's default channel. Its status tells you a lot: `200` means the player knows what to play, and `403` means the site may not play the channel, or is disabled.

On a protected site, the player then posts to `/v1/playback/sessions`, and about every four minutes to `/v1/playback/sessions/renew`. A refusal there says why in its `_tag`: `PlaybackUnauthenticated` (a grant Spine can't verify), `PlaybackExpired`, `PlaybackReplayed` (a grant used already), `PlaybackForbidden` or `PlaybackDisabled`.

## What the player says

The messages are quoted in English. A player speaking Turkish shows the same ones in Turkish, and the [player reference](/player-reference#settings), under Language, pairs each with its English.

**“This player can't play this channel”**

The embed ID or the channel is wrong, the channel isn't assigned to this site, or the embed names no channel and the site has no default channel. Spine deliberately doesn't say which.

- Copy the embed ID and the channel again from what Spine sent you. An embed ID is 26 characters, after `emb_` where it's written in full, and a channel ID is `chan_` followed by 26 characters. A slug is lowercase letters, digits and hyphens, such as `spor-1`.
- If the embed names the channel by its slug, check that Spine hasn't changed the slug: embeds that name an old slug stop playing. A channel's ID never changes, so an embed can name it by ID instead.
- If the embed names no channel, ask Spine whether your site has a default channel.
- Check you're using the right site's embed ID: a staging site's ID on your production page plays only the staging site's channels.
- If Spine has reissued your embed ID, the old one stops working at once. Update your pages.
- Ask Spine whether the channel is assigned to the site.
- On a site with customer grants, check the grant names this site's embed ID, and, if it names a channel (`chan`), the slug of the one the player plays: a grant for another site or channel ends here too.

**“This player isn't available.”**

The iframe's page doesn't know the embed ID: it's mistyped, or Spine has reissued it. The page says it in English and Turkish ("Bu oynatıcı kullanılamıyor.").

**“This player isn't set up correctly.”**

The iframe URL's path isn't `/embed/<embedId>`. Compare it with [the embed URL](/iframe#the-embed-url). A URL without a channel is fine: it plays the site's default channel.

**“Playback is turned off for this site”**

Spine has disabled the site or your account. Contact Spine.

**“Your access to this stream couldn't be confirmed”**

The site uses customer grants, and the player got no grant from your page, or Spine refused the grants it got. The player asks again about a minute later, so once you've fixed the cause it plays without a reload.

- **Your page hands over no grant.** Check it gives the player a `getGrant` function, or answers an iframe with `serveGrants` (see [Iframe embed](/iframe#protected-playback), [Hosted script](/hosted-script#protected-playback) or [npm packages](/npm-packages#protected-playback)).
- **Your grant endpoint refuses the viewer,** or fails. Check its response in the Network tab.
- **An iframe gets its answer too late, or not at all.** Your page has to answer within 10 seconds, to the player's origin, `https://player.spinectrl.com`, and only for your iframe's window.
- **Spine refuses the grant.** The session request's response says why (see [Tools](#tools)). Check your grants against [The grant](/grants#the-grant): the `alg` and `kid` of a key Spine holds, `aud`, the embed ID with its `emb_`, the channel's slug in `chan` if you set it, a `jti` you haven't used before, `exp` at least 300 and at most 86,400 seconds after `iat`, and your servers' clocks. A key Spine has removed signs nothing it accepts.
- **The site's app opens the embed directly** in a WebView: such a site can't get grants. Ask Spine to put it on player grants, or load a page of yours instead (see [Mobile apps](/apps#protected-playback)).

**“Off air” when you expect the broadcast**

The player follows Spine's schedule. "Off air" with a time ("Back at 14:00") means the schedule says off air until then. "Off air" without a time means that no return is scheduled in the next two weeks, that Spine has taken the channel off air until further notice, or that Spine's delivery reports the broadcast itself has stopped. In that last case the player keeps trying and plays as soon as the broadcast is back. If it looks wrong, contact Spine with the channel's slug and the time.

**“This stream isn't available right now”**

Nothing can play on this channel for your site at the moment. The player keeps checking and starts by itself. If it lasts, contact Spine.

**“Can't reach the stream” and “Check your connection.”**

The player couldn't get its configuration from Spine's host, three times in a row.

- **The viewer's network**, most often. The "Try again" button and a working connection fix it.
- **Your Content Security Policy** blocks `https://player.spinectrl.com` in `connect-src` (hosted script and npm). The console says so. See [Content Security Policy](/hosted-script#content-security-policy).
- **A wrong `host`** (npm packages): it must be `https://player.spinectrl.com`, with no path.
- **A CORS error in the console** (hosted script and npm): your page's origin isn't registered for the site, or the site isn't set up as a script site. Ask Spine.
- Ad blockers and corporate proxies occasionally block video hosts.

**“The stream stopped playing”**

The player had what to play, but the stream kept failing after retries.

- **Referrer policy** (hosted script and npm): if your page sends no referrer, Dolby refuses every request with `403`. See [Referrer policy](/hosted-script#referrer-policy).
- **A newly registered origin** (hosted script and npm): Dolby's CDN takes several minutes to accept a new origin everywhere. Wait and try again.
- **Licence** (hosted script and npm): if the console mentions the licence, Spine hasn't covered your domain yet. Send Spine the domain.
- **Region:** a geofenced channel doesn't play outside its countries. If viewers in one country can't play, ask Spine.
- **A partner's stream** may refuse your page's origin (a CORS error on a playlist in the console). Spine sorts that out with the partner.
- **A partner's stream on a protected site** is signed for the viewer's internet address. A viewer whose address changes mid-stream, as when a phone moves from Wi-Fi to mobile data, sees it stop for a moment and recover. A viewer whose network reaches Spine and the partner's CDN from different addresses, as some VPNs and corporate proxies do, may not be able to play it at all. Tell Spine if a partner's stream fails for some viewers only.
- Otherwise, contact Spine with a screenshot of Stream Info.

## Other problems

**The iframe is empty, and the console says “Refused to frame”**

Your page's origin isn't registered for an iframe site. The console names the origins that are allowed. Check:

- `https://example.com` and `https://www.example.com` are different origins.
- A port counts: `https://example.com:8443` is its own origin.
- Pages must be `https`, apart from `http://localhost`.
- A site set up for the hosted script or for apps (direct) can't be framed at all. Ask Spine to change its integration.

A change Spine makes reaches viewers within about a minute.

**Protected playback pauses every few minutes on older iPhones**

On iPhones and iPads before iOS 17.1, Safari plays the stream itself. With the hosted script or the npm packages, the player in your own page can't renew a protected stream's credentials mid-stream there, so playback pauses and resumes by itself every few minutes. The [iframe embed](/iframe#protected-playback) renews them without a pause: use it for protected playback on those devices.

**It plays without sound**

That's by design. Browsers block autoplay with sound, so the player starts muted and shows "Tap to unmute".

**It doesn't start by itself**

- The iframe needs `allow="autoplay; fullscreen"`.
- Your page's `Permissions-Policy` header must not turn off `autoplay`.
- Some browsers block even muted autoplay in battery-saving or data-saving modes. The player then shows a play button.
- In an app's WebView, see the [WebView settings](/apps#webview-settings-the-player-needs).

**The fullscreen button does nothing**

- The iframe needs `allow="autoplay; fullscreen"` and `allowfullscreen`.
- Your page's `Permissions-Policy` header must not turn off `fullscreen`.
- In an app's WebView, see the [WebView settings](/apps#webview-settings-the-player-needs).

**The player has no height**

With `fill`, the player takes its container's height, so the container needs one. Without `fill`, it's 16:9 at its container's width, so a container of zero width shows nothing.

**Nothing renders with the hosted script**

- The `<spine-player>` element needs `embed-id`. Without it, it stays empty. Without `channel`, it plays your site's default channel.
- The script tag needs `type="module"`.
- Your Content Security Policy's `script-src` must allow `https://player.spinectrl.com`.

**`create` throws an error**

- `SpinePlayer: no element with the id "…"`: the container doesn't exist yet when you call `create`. Call it after the element is in the page.
- `SpinePlayer: the container is in another document…`: you passed an element inside an iframe. Load the player in that frame's own page.

**The channel selector doesn't show**

It shows only when all three hold:

- Spine allows it for your site.
- Your embed asks for it: `channels=1` on the embed URL, the `channel-selector` attribute, or `channelSelector: true` in code.
- Your site has more than one channel.

Ask Spine about the first and the last. See [Channel selector](/player-reference#channel-selector).

**Picture-in-picture doesn't open**

- `requestPictureInPicture()` returns `false` in a browser without picture-in-picture, such as Firefox, and while nothing plays, such as off air.
- Call it from a viewer's click or tap. Browsers refuse picture-in-picture that a page opens by itself.
- The iframe takes no commands: use the hosted script (see [Commands](/player-reference#commands)).

**Two sounds, or two players where you expect one**

In a single-page app, a player that isn't destroyed keeps playing after its view goes away. Call `destroy()` when the view unmounts, or use the element or the React or Vue components, which do it for you.

**The player is unstyled in old Safari**

Safari before 16.4 needs `style-src 'unsafe-inline'` for the player's styles. Newer browsers don't.

**A change Spine made doesn't show yet**

| Change                                          | When it reaches viewers                                                                    |
| ----------------------------------------------- | ------------------------------------------------------------------------------------------ |
| The schedule                                    | Within about a minute.                                                                     |
| A site's player defaults                        | When each viewer's player next starts.                                                     |
| A site's default channel                        | Within about a minute, for embeds that name no channel.                                    |
| An iframe site's origins                        | Within about a minute.                                                                     |
| A script site's origins                         | The player's configuration within about a minute; Dolby's delivery within several minutes. |
| Disabling a site or account                     | Within about a minute: players stop with "Playback is turned off for this site".           |
| A reissued embed ID                             | Within seconds for new players; playing players stop within about a minute.                |
| A site's protection level, moving up            | Within about a minute.                                                                     |
| A site's protection level, moving down          | Several minutes, once Dolby has stopped asking for tokens everywhere.                      |
| A removed grant key                             | At once.                                                                                   |
| A new player release (iframe and hosted script) | Within a minute or two, as players start. npm packages: when you upgrade.                  |

## Contacting Spine

Send:

- the page URL, and the embed ID and channel (slug or ID)
- the time, with the time zone
- the device, operating system and browser, or the app and its WebView
- what the player showed, ideally a screenshot of the Stream Info panel
- any errors from the browser's console
- for a request to Spine that failed, the `x-request-id` header of its response, from the Network tab

:::warning
Never send private keys or grants. A public key is fine to send.
:::
