Yandex Cloud
Документация
ПрезентацияСвязаться с намиНачать бесплатно
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ТОО «Облачные Сервисы Казахстан»
Yandex Cloud Video
RU
    • Обзор
    • Управление
    • Политика автозапуска браузеров
  • Управление доступом
  • Правила тарификации
    • Аутентификация в API
    • Начало работы с API
      • Overview
        • Overview
        • Get
        • List
        • BatchGet
        • Create
        • Update
        • RenewSource
        • Transcode
        • Delete
        • BatchDelete
        • PerformAction
        • GetPlayerURL
        • BatchGetPlayerURLs
        • GetManifests
        • GenerateDownloadURL
        • GetScreenshots
        • BatchGetScreenshots
  • Аудитные логи Audit Trails
  • История изменений
  • Решение проблем

В этой статье:

  • HTTP request
  • Body parameters
  • VideoPlayerParams
  • Response
  1. Справочник API
  2. REST (англ.)
  3. Video
  4. BatchGetPlayerURLs

Video API, REST: Video.BatchGetPlayerURLs

Статья создана
Yandex Cloud
Обновлена 3 ноября 2026 г.
Открыть в Markdown
  • HTTP request
  • Body parameters
  • VideoPlayerParams
  • Response

Generates multiple player URLs for a list of videos in a specific channel in a single request.
This is more efficient than making multiple GetPlayerURL requests when retrieving several URLs.

HTTP requestHTTP request

POST https://video.api.yandexcloud.kz/video/v1/videos:batchGetPlayerURLs

Body parametersBody parameters

{
  "channelId": "string",
  "videoIds": [
    "string"
  ],
  "params": {
    "mute": "boolean",
    "autoplay": "boolean",
    "hidden": "boolean"
  },
  "signedUrlExpirationDuration": "string"
}

Field

Description

channelId

string

Required field. ID of the channel containing the videos for which to generate player URLs.

The maximum string length in characters is 50.

videoIds[]

string

List of video IDs for which to generate player URLs.

The maximum string length in characters for each value is 50. The number of elements must be in the range 1-100.

params

VideoPlayerParams

Optional player parameters to customize the playback experience.
These parameters control initial player state such as mute, autoplay, and visibility of interface controls.
These parameters will be applied to all generated player URLs.

signedUrlExpirationDuration

string (duration)

For videos with signed URL access, specifies how long the generated URL will be valid.
If not provided, a default expiration duration will be used.
This setting applies to all videos in the batch that use sign_url_access.

VideoPlayerParamsVideoPlayerParams

Field

Description

mute

boolean

If true, the player will start with audio muted.
Users can unmute the audio manually after playback starts.

autoplay

boolean

If true, the video will start playing automatically when the player loads.
This may be subject to browser autoplay policies that restrict autoplay with sound.

hidden

boolean

If true, the player interface controls will be hidden initially.
Users can typically reveal the controls by moving the mouse over the player.

ResponseResponse

HTTP Code: 200 - OK

{
  "playerUrls": [
    "string"
  ]
}

Field

Description

playerUrls[]

string

List of player URLs corresponding to the requested video IDs.
The order of URLs matches the order of video IDs in the request.

Была ли статья полезна?

Предыдущая
GetPlayerURL
Следующая
GetManifests
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ТОО «Облачные Сервисы Казахстан»