Skip to main content
POST
/
streaming
/
players
Python
import os
from gcore import Gcore

client = Gcore(
    api_key=os.environ.get("GCORE_API_KEY"),  # This is the default and can be omitted
)
client.streaming.players.create()
This response has no body data.

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Body

application/json
player
object

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

Example:
[
  {
    "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
  }
]

Response