Skip to content
This repository has been archived by the owner on Apr 22, 2022. It is now read-only.

Commit

Permalink
maj readme
Browse files Browse the repository at this point in the history
  • Loading branch information
anthony committed Dec 5, 2018
1 parent 35d4735 commit 2df288c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Expand Up @@ -171,6 +171,12 @@ $client->videos->download($source, $title, array $properties = array());
// Update video properties
$client->videos->update($videoId, array $properties);

// Set video public
$client->videos->setPublic($videoId);

// Set video private
$client->videos->setPrivate($videoId);

// Delete video (file and data)
$client->videos->delete($videoId);

Expand Down Expand Up @@ -338,6 +344,8 @@ $client->analyticsLive->getLastError();
| **update** | **-** | **-** | **-** | **-** |
| **-** | videoId()string | Video identifier | :heavy_check_mark: | **-** |
| **-** | properties(array) | Video properties | :heavy_check_mark: | <ul><li>title(string)</li><li>description(string)</li><li>tags(array(string))</li><li>playerId(string)</li><li>metadata(array(<br/>array(<br/>'key' => 'Key1', <br/>'value' => 'value1'<br/>), <br/>array(<br/>'key' => 'Key2',<br/> 'value' => 'value2'<br/>)<br/>)</li></ul> |
| **setPublic** | videoId(string) | Video identifier | :heavy_check_mark: | **-** |
| **setPrivate** | videoId(string) | Video identifier | :heavy_check_mark: | **-** |
| **delete** | videoId(string) | Video identifier | :heavy_check_mark: | **-** |
### Players
Expand Down

0 comments on commit 2df288c

Please sign in to comment.