Create a player
POST
/players
Players
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://ws.api.video/players' \
--header 'Content-Type: application/json' \
--data-raw ''
Response Response Example
{
"backgroundBottom": "rgba(94, 95, 89, 1)",
"backgroundText": "rgba(255, 255, 255, .95)",
"backgroundTop": "rgba(72, 4, 45, 1)",
"createdAt": "2020-01-13T10:09:17.000Z",
"enableApi": false,
"enableControls": false,
"forceAutoplay": false,
"forceLoop": false,
"hideTitle": false,
"link": "rgba(255, 0, 0, .95)",
"linkActive": "rgba(255, 0, 0, .75)",
"linkHover": "rgba(255, 255, 255, .75)",
"playerId": "pl45d5vFFGrfdsdsd156dGhh",
"shapeAspect": "flat",
"shapeBackgroundBottom": "rgba(50, 50, 50, .8)",
"shapeBackgroundTop": "rgba(50, 50, 50, .7)",
"shapeRadius": 3,
"text": "rgba(255, 255, 255, .95)",
"trackBackground": "rgba(0, 0, 0, 0)",
"trackPlayed": "rgba(255, 255, 255, .95)",
"trackUnplayed": "rgba(255, 255, 255, .1)",
"updatedAt": "2020-01-13T10:09:17.000Z"
}
Request
Body Params application/json
Responses
Modified at 2023-08-15 05:52:15