PATCH
/
streaming
/
players
/
{player_id}
curl --request PATCH \
  --url https://api.gcore.com/streaming/players/{player_id} \
  --header 'APIKey: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "player": [
    {
      "id": 33,
      "name": "Player",
      "client_id": 100,
      "design": "",
      "custom_css": "",
      "js_url": "",
      "skin_js_url": "",
      "bg_color": "#3313df",
      "fg_color": "#FFFFFF",
      "text_color": "#FFFFFF",
      "hover_color": "#ef9047",
      "autoplay": true,
      "mute": false,
      "disable_skin": false,
      "save_options_to_cookies": false,
      "show_sharing": true,
      "speed_control": false
    }
  ]
}'
[
  {
    "id": 33,
    "name": "Player",
    "client_id": 100,
    "design": "",
    "custom_css": "",
    "js_url": "",
    "skin_js_url": "",
    "bg_color": "#3313df",
    "fg_color": "#FFFFFF",
    "text_color": "#FFFFFF",
    "hover_color": "#ef9047",
    "autoplay": true,
    "mute": false,
    "disable_skin": false,
    "save_options_to_cookies": false,
    "show_sharing": true,
    "speed_control": false
  }
]

Authorizations

APIKey
string
header
required

API key for authentication.

Path Parameters

player_id
integer
required

Player ID.
IDs of all created players can be received via Get All Players request

Body

application/json

Response

200 - application/json

Successful

Set of properties for displaying videos. All parameters may be blank to inherit their values from default Streaming player.