get
https://api-v2.pandavideo.com.br/player/
Returns the current default player configuration for the organization, including visible controls, colors, captions settings, save progress behavior, branding, tracking pixels, and settings menu options.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
GET /player
Returns the current default player configuration for the organization, including visible controls, colors, captions settings, save progress behavior, branding, tracking pixels, and settings menu options.
AuthorizationThis endpoint requires a valid API token in the
Authorizationheader. The configuration returned belongs to the organization associated with the token.
HTTP Method & Path
GET /player
Base URL: https://api-v2.pandavideo.com.br
Authentication Requirements
- Security Scheme:
PandaAuth(apiKey) - Header:
Authorization: <your_api_token>(no Bearer prefix)
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Authorization | header | string | Yes | Panda API token (without Bearer prefix) |
Request Body
No request body is required.
Response
Success Response (200)
Returns the default player configuration for the organization:
{
"controls": ["play-large", "rewind", "play", "fast-forward", "current-time", "volume", "captions", "settings", "fullscreen", "airplay", "cast"],
"captionsBackgroundColor": "#000000",
"captionsFontSize": 14,
"primaryColor": "#4874F1",
"captionsColor": "#FFFFFF",
"menuColor": "#4a5464",
"controlsColor": "#FFFFFF",
"saveProgress": false,
"fbPixel": ["124514141"],
"gtagIds": [],
"pandaBranding": true,
"refCode": "",
"defaultLanguage": "",
"timeDisplayType": "CURRENT_TOTAL_TIME",
"settingsControls": {
"speed": true,
"quality": true,
"dubbing": true,
"captionsLanguage": true
}
}Response Schema
| Field | Type | Description |
|---|---|---|
controls | array of strings | Visible controls in the player. Possible values: play-large, rewind, play, fast-forward, current-time, volume, captions, settings, pip, fullscreen, airplay, cast |
captionsBackgroundColor | string (hex) | Captions background color |
captionsFontSize | integer | Captions font size in pixels |
primaryColor | string (hex) | Main accent color used by the player |
captionsColor | string (hex) | Captions text color |
menuColor | string (hex) | Settings menu color |
controlsColor | string (hex) | Controls color |
saveProgress | boolean | Whether playback progress is saved between sessions |
fbPixel | array of strings | Facebook Pixel IDs configured for tracking |
gtagIds | array of strings | Google Tag IDs configured for tracking |
pandaBranding | boolean | Whether Panda Video branding is visible in the player |
refCode | string | Reference code for tracking; empty if not used |
defaultLanguage | string | Default subtitle language as a BCP 47 tag (e.g. en, pt-BR); empty if none |
timeDisplayType | string (enum) | How time is displayed in the player. Enum: CURRENT_TOTAL_TIME, REMAINING_TIME |
settingsControls | object | Toggles that control which items appear in the settings menu |
settingsControls.speed | boolean | Whether the playback speed option is shown |
settingsControls.quality | boolean | Whether the video quality option is shown |
settingsControls.dubbing | boolean | Whether the audio dubbing option is shown |
settingsControls.captionsLanguage | boolean | Whether the captions language option is shown |
Error Responses
- 401 Unauthorized: Missing or invalid API token
- 403 Forbidden: The token does not have access to this resource
- 500 Internal Server Error: Unexpected server error
Example Usage
cURL
curl -X GET \
'https://api-v2.pandavideo.com.br/player' \
-H 'Authorization: your_api_token_here'