Download the PHP package api-video/php-sdk without Composer
On this page you can find all versions of the php package api-video/php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download api-video/php-sdk
More information about api-video/php-sdk
Files in api-video/php-sdk
Package php-sdk
Short Description PHP client for api.video web services.
License MIT
Informations about the package php-sdk
api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes.
Deprecation warning
This project is deprecated. It won't be updated anymore, no support will be provided, and it may not be fully compatible with the API anymore. Please use https://github.com/apivideo/api.video-php-client instead.
api.video PHP SDK
The api.video web-service helps you put video on the web without the hassle. This documentation helps you use the corresponding PHP client.
Installation
Quick start
Advanced usage
Full API
Full API Details Implementation
Videos
Function | Parameters | Description | Required | Allowed Values |
---|---|---|---|---|
get | videoId(string) | Video identifier | :heavy_check_mark: | - |
search | - | - | - | - |
- | parameters(array) | Search parameters | :x: |
|
- | callback(function) | callback function | :x: | - |
create | - | - | - | - |
- | title(string) | Video title | :heavy_check_mark: | - |
- | properties(array) | Video properties | :x: |
|
upload | - | - | - | - |
- | source(string) | Video media file | :heavy_check_mark: | - |
- | properties(array) | Video properties | :x: |
|
- | videoId(string) | Video identifier | :x: | - |
download | - | - | - | - |
- | source(string) | Video media file | :heavy_check_mark: | - |
- | title(string) | Video title | :heavy_check_mark: | - |
- | properties(array) | Video properties | :x: |
|
uploadThumbnail | - | - | - | - |
- | source(string) | Image media file | :heavy_check_mark: | - |
- | videoId(string) | Video identifier | :heavy_check_mark: | - |
updateThumbnailWithTimeCode | - | - | - | - |
- | videoId(string) | Video identifier | :heavy_check_mark: | - |
- | timecode(string) | Video timecode | :heavy_check_mark: | 00:00:00.00 (hours:minutes:seconds.frames) |
update | - | - | - | - |
- | videoId()string | Video identifier | :heavy_check_mark: | - |
- | properties(array) | Video properties | :heavy_check_mark: |
|
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
Function | Parameters | Description | Required | Allowed Values |
---|---|---|---|---|
get | playerId(string) | Player identifier | :heavy_check_mark: | - |
create | properties(array) | Player properties | :x: |
|
update | - | - | - | - |
- | playerId(string) | Player identifier | :heavy_check_mark: | - |
- | properties(array) | Player properties | :heavy_check_mark: |
|
uploadLogo | - | - | - | - |
- | source(string) | Image media file | :heavy_check_mark: | - |
- | playerId(string) | Player identifier | :heavy_check_mark: | - |
- | link(string) | Link url | :x: | - |
deleteLogo | playerId(string) | Player identifier | :heavy_check_mark: | - |
delete | playerId(string) | Player identifier | :heavy_check_mark: | - |
Captions
Function | Parameters | Description | Required | Allowed Values |
---|---|---|---|---|
get | - | - | - | - |
- | videoId(string) | Video identifier | :heavy_check_mark: | - |
- | language(string) | Language identifier | :heavy_check_mark: | 2 letters (ex: en, fr) |
getAll | videoId(string) | Video identifier | :heavy_check_mark: | - |
upload | - | - | - | - |
- | source(string) | Caption file | :heavy_check_mark: | - |
- | properties(string) | Caption properties | :heavy_check_mark: |
|
updateDefault | - (array) | - | - | - |
- | videoId | Video identifier | :heavy_check_mark: | - |
- | language (string) | Language identifier | :heavy_check_mark: | 2 letters (ex: en, fr) |
- | isDefault (string) | Set default language | :heavy_check_mark: | true/false |
delete | - (boolean) | - | - | - |
- | videoId | Video identifier | :heavy_check_mark: | - |
- | language (string) | Language identifier | :heavy_check_mark: | 2 letters (ex: en, fr) |
Chapters
Function | Parameters | Description | Required | Allowed Values |
---|---|---|---|---|
get | - | - | - | - |
- | videoId(string) | Video identifier | :heavy_check_mark: | - |
- | language(string) | Language identifier | :heavy_check_mark: | 2 letters (ex: en, fr) |
getAll | videoId(string) | Video identifier | :heavy_check_mark: | - |
upload | - | - | - | - |
- | source(string) | Chapter file | :heavy_check_mark: | - |
- | properties(string) | Chapter properties | :heavy_check_mark: |
|
delete | - (boolean) | - | - | - |
- | videoId | Video identifier | :heavy_check_mark: | - |
- | language (string) | Language identifier | :heavy_check_mark: | 2 letters (ex: en, fr) |
Live streams
Function | Parameters | Description | Required | Allowed Values |
---|---|---|---|---|
get | liveStreamId(string) | Live identifier | :heavy_check_mark: | - |
search | - | - | - | - |
- | parameters(array) | Search parameters | :x: |
|
- | callback(function) | callback function | :x: | - |
create | - | - | - | - |
- | name(string) | Live name | :heavy_check_mark: | - |
- | properties(array) | Live properties | :x: |
|
uploadThumbnail | - | - | - | - |
- | source(string) | Image media file | :heavy_check_mark: | - |
- | liveStreamId(string) | Live identifier | :heavy_check_mark: | - |
update | - | - | - | - |
- | liveStreamId(string) | Live identifier | :heavy_check_mark: | - |
- | properties(array) | Live properties | :heavy_check_mark: |
|
setPublic | liveStreamId(string) | Live identifier | :heavy_check_mark: | - |
setPrivate | liveStreamId(string) | Live identifier | :heavy_check_mark: | - |
delete | liveStreamId(string) | Live identifier | :heavy_check_mark: | - |
AnalyticsVideo
Function | Parameters | Description | Required | Allowed Values/Format |
---|---|---|---|---|
search | parameters(array) | Search parameters | :x: |
|
- | videoId(string) | Video identifier | :heavy_check_mark: | - |
- | period (string) | Period research | :x: |
|
- | metadata (array) | Metadata research | :x: | - |
AnalyticsLive
Function | Parameters | Description | Required | Allowed Values/Format |
---|---|---|---|---|
search | parameters(array) | Search parameters | :x: |
|
- | liveStreamId(string) | Live identifier | :heavy_check_mark: | - |
- | period (string) | Period research | :x: |
|
AnalyticsSessionEvents
Function | Parameters | Description | Required | Allowed Values/Format |
---|---|---|---|---|
search | - | - | - | - |
- | sessionId(string) | Session identifier | :heavy_check_mark: | - |
- | parameters(array) | Search parameters | :x: |
|
Tokens
Function | Parameters | Description | Required | Allowed Values |
---|---|---|---|---|
generate | - | Token for delegated upload | - | - |
Account
Function | Parameters | Description | Required | Allowed Values |
---|---|---|---|---|
get | - | Get account informations (quota, features) | - | - |
More on api.video
A full technical documentation is available on https://docs.api.video/