API Method: /api/player/update

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


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


To remove a setting, leave the value empty:


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:


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",
  "p": "1",
  "size": "1",
  "site": { ...},
  "endpoint": "/api/player/update"