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
  • GetVideoPlayerURLRequest
  • VideoPlayerParams
  • GetVideoPlayerURLResponse
  1. API reference
  2. gRPC
  3. Video
  4. GetPlayerURL

Video API, gRPC: VideoService.GetPlayerURL

Written by
Yandex Cloud
Improved by
Tania L.
Updated at November 25, 2025
  • gRPC request
  • GetVideoPlayerURLRequest
  • VideoPlayerParams
  • GetVideoPlayerURLResponse

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.

gRPC requestgRPC request

rpc GetPlayerURL (GetVideoPlayerURLRequest) returns (GetVideoPlayerURLResponse)

GetVideoPlayerURLRequestGetVideoPlayerURLRequest

{
  "video_id": "string",
  "params": {
    "mute": "bool",
    "autoplay": "bool",
    "hidden": "bool"
  },
  "signed_url_expiration_duration": "google.protobuf.Duration"
}

Field

Description

video_id

string

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

The maximum string length in characters 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.

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.

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.

GetVideoPlayerURLResponseGetVideoPlayerURLResponse

{
  "player_url": "string",
  "html": "string"
}

Field

Description

player_url

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.

Was the article helpful?

Previous
PerformAction
Next
BatchGetPlayerURLs
© 2025 Direct Cursus Technology L.L.C.