Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Cloud Video
    • Overview
    • Control
    • Troubleshooting
    • Browser autoplay policy
  • Access management
  • Pricing policy
    • API authentication
    • Getting started with the API
      • Overview
        • Overview
        • Get
        • List
        • BatchGet
        • Create
        • Update
        • Transcode
        • Delete
        • BatchDelete
        • PerformAction
        • GetPlayerURL
        • BatchGetPlayerURLs
        • GetManifests
  • Audit Trails events
  • Release notes

In this article:

  • gRPC request
  • BatchGetVideoPlayerURLsRequest
  • VideoPlayerParams
  • BatchGetVideoPlayerURLsResponse
  1. API reference
  2. gRPC
  3. Video
  4. BatchGetPlayerURLs

Video API, gRPC: VideoService.BatchGetPlayerURLs

Written by
Yandex Cloud
Updated at November 25, 2025
  • gRPC request
  • BatchGetVideoPlayerURLsRequest
  • VideoPlayerParams
  • BatchGetVideoPlayerURLsResponse

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.

gRPC requestgRPC request

rpc BatchGetPlayerURLs (BatchGetVideoPlayerURLsRequest) returns (BatchGetVideoPlayerURLsResponse)

BatchGetVideoPlayerURLsRequestBatchGetVideoPlayerURLsRequest

{
  "channel_id": "string",
  "video_ids": [
    "string"
  ],
  "params": {
    "mute": "bool",
    "autoplay": "bool",
    "hidden": "bool"
  },
  "signed_url_expiration_duration": "google.protobuf.Duration"
}

Field

Description

channel_id

string

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

The maximum string length in characters is 50.

video_ids[]

string

List of video IDs for which to generate player URLs.

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

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.

signed_url_expiration_duration

google.protobuf.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.
This setting applies to all videos in the batch that use sign_url_access.

VideoPlayerParamsVideoPlayerParams

Field

Description

mute

bool

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

autoplay

bool

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

bool

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

BatchGetVideoPlayerURLsResponseBatchGetVideoPlayerURLsResponse

{
  "player_urls": [
    "string"
  ]
}

Field

Description

player_urls[]

string

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

Was the article helpful?

Previous
GetPlayerURL
Next
GetManifests
© 2025 Direct Cursus Technology L.L.C.