Get Config 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
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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.

📘

Authorization

This endpoint requires a valid API token in the Authorization header. 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

NameInTypeRequiredDescription
AuthorizationheaderstringYesPanda 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

FieldTypeDescription
controlsarray of stringsVisible controls in the player. Possible values: play-large, rewind, play, fast-forward, current-time, volume, captions, settings, pip, fullscreen, airplay, cast
captionsBackgroundColorstring (hex)Captions background color
captionsFontSizeintegerCaptions font size in pixels
primaryColorstring (hex)Main accent color used by the player
captionsColorstring (hex)Captions text color
menuColorstring (hex)Settings menu color
controlsColorstring (hex)Controls color
saveProgressbooleanWhether playback progress is saved between sessions
fbPixelarray of stringsFacebook Pixel IDs configured for tracking
gtagIdsarray of stringsGoogle Tag IDs configured for tracking
pandaBrandingbooleanWhether Panda Video branding is visible in the player
refCodestringReference code for tracking; empty if not used
defaultLanguagestringDefault subtitle language as a BCP 47 tag (e.g. en, pt-BR); empty if none
timeDisplayTypestring (enum)How time is displayed in the player. Enum: CURRENT_TOTAL_TIME, REMAINING_TIME
settingsControlsobjectToggles that control which items appear in the settings menu
settingsControls.speedbooleanWhether the playback speed option is shown
settingsControls.qualitybooleanWhether the video quality option is shown
settingsControls.dubbingbooleanWhether the audio dubbing option is shown
settingsControls.captionsLanguagebooleanWhether 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'
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json