API Method: /api/player/update

Update the player with any value avaiable in /api/player/options.

Parameters

Any key/value pair may be sent, where the key is a valid option -- and the value valid for that key. For example:

?scrubberColor=red

To remove a setting, leave the value empty:

?scrubberColor=

To upload a graphic file for a player setting (i.e. logo or play button), set the setting to 1 and include the graphics file in the file parameter of a multipart form request. The file may be uploaded using the Resumable.js library.

Permission level

The minimum required permission level is:

write

Example XML Response

<response status="ok" permission_level="write" 
  message="The player was updated" cached="0">

Example JSON Response

{
  "status": "ok", 
  "message":"The player was updated",
  "permission_level":"write",
  "cached":"0",
  "p": "1",
  "size": "1",
  "site": { ...},
  "endpoint": "/api/player/update"
}