Yandex Cloud
Поиск
Связаться с намиПодключиться
  • Истории успеха
  • Документация
  • Блог
  • Все сервисы
  • Статус работы сервисов
    • Доступны в регионе
    • Инфраструктура и сеть
    • Платформа данных
    • Контейнеры
    • Инструменты разработчика
    • Бессерверные вычисления
    • Безопасность
    • Мониторинг и управление ресурсами
    • ИИ для бизнеса
    • Бизнес-инструменты
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Безопасность
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Партнёрская программа
    • Поддержка IT-бизнеса
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Тарифы Yandex Cloud
    • Промоакции и free tier
    • Правила тарификации
  • Истории успеха
  • Документация
  • Блог
Проект Яндекса
© 2025 ТОО «Облачные Сервисы Казахстан»
Yandex Cloud Video
    • Обзор
    • Управление
    • Решение проблем
    • Политика автозапуска браузеров
  • Управление доступом
  • Правила тарификации
    • Аутентификация в API
    • Начало работы с API
      • Overview
        • Overview
        • Get
        • List
        • BatchGet
        • Create
        • Update
        • Transcode
        • Delete
        • BatchDelete
        • PerformAction
        • GetPlayerURL
        • BatchGetPlayerURLs
        • GetManifests
  • Аудитные логи Audit Trails
  • История изменений

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

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

Video API, REST: Video.GetPlayerURL

Статья создана
Yandex Cloud
Улучшена
Tania L.
Обновлена 25 ноября 2025 г.
  • HTTP request
  • Path parameters
  • Query parameters
  • VideoPlayerParams
  • Response

Generates a standard player URL for watching the video.
The URL respects the video's access rights and can include custom player parameters.
For videos with signed URL access, an expiration duration can be specified.

HTTP requestHTTP request

GET https://video.api.yandexcloud.kz/video/v1/videos/{videoId}:getPlayerURL

Path parametersPath parameters

Field

Description

videoId

string

Required field. ID of the video for which to generate a player URL.

The maximum string length in characters is 50.

Query parametersQuery parameters

Field

Description

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.

signedUrlExpirationDuration

string (duration)

For episodes with signed URL access, specifies how long the generated URL will be valid.
If not provided, a default expiration duration will be used.

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

{
  "playerUrl": "string",
  "html": "string"
}

Field

Description

playerUrl

string

Direct URL to the video player.
This URL can be used to access the video in a web browser
or shared with users who have appropriate permissions.

html

string

HTML embed code in iframe format that can be inserted into web pages.
This code allows the video to be embedded directly in third-party websites.

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

Предыдущая
PerformAction
Следующая
BatchGetPlayerURLs
Проект Яндекса
© 2025 ТОО «Облачные Сервисы Казахстан»