Video API, REST: Playlist.GetPlayerURL
Written by
Updated at November 26, 2024
Returns player's url.
HTTP request
GET https://video.api.cloud.yandex.net/video/v1/playlists/{playlistId}:getPlayerURL
Path parameters
Field |
Description |
playlistId |
string Required field. ID of the playlist. |
Query parameters
Field |
Description |
params |
PlaylistPlayerParams
Field |
Description |
mute |
boolean If true, a player will be muted by default. |
autoplay |
boolean If true, playback will start automatically. |
hidden |
boolean If true, a player interface will be hidden by default. |
Response
HTTP Code: 200 - OK
{
"playerUrl": "string",
"html": "string"
}
Field |
Description |
playerUrl |
string Direct link to the playlist. |
html |
string HTML embed code in Iframe format. |