PATCH
/
players
/
{PLAYER_ID}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

PLAYER_ID
string
required

ID of the player

Body

application/json
aspectratio
enum<string>

Its aspect ratio. Currently we only support the most common 16:9 ratio

Available options:
16:9
autoplay
boolean

Should the player try to play on-load (many browsers block this, though setting muted as true can help)?

colour
string

Its accent colour, used for the main play button

controls
boolean

Whether controls should be shown

buttons
string

If you only want a subset of the controls shown, provide a comma-separated string of the ones to include

dnt
boolean

Should the player send analytics events?

keyboard
boolean

Support keyboard controls

loop
boolean

Should the video automatically loop and restart when it ends?

name
string

A short name for the player

muted
boolean

Should the video be muted on-load?

playsinline
boolean

If supported, should the video play inline (as opposed to immediately going fullscreen)

preload
boolean

If supported, should we buffer a small amount of video on-load to improve performance?

quality
enum<string>

We try and pick the best quality (based on the connection speed) but you can force it

Available options:
highest,
lowest
title
boolean

Should the video title be shown on-load?

track
enum<string>

If subtitles are available, this sets the language of the one to show on-load

Available options:
de-DE,
en-AU,
en-GB,
en-US,
es-ES,
fr-FR,
it-IT

Response

200 - application/json
success
boolean
required
result
object
required
links
object
required
errors
object[]
required