Getting an embed code or link to a video
Written by
Updated at October 29, 2024
Cloud Video interface
API
-
Open the Cloud Video home page
. -
Select a channel.
-
In the
Video tab, select the video. -
Under Past code:
-
Set the required playback parameters for the video:
Play video without sound by default (recommended)
Auto play video
Display controls in the player
.
With Cloud Video Player SDK for IFrame, you can specify additional video player management settings and video playback parameters for the HTML page, such as video size and looping, volume, etc.
-
Select the preferred video link format:
html
: HTML embed code in Iframe format.link
: Direct link to the video.
-
Click
Copy.
-
Use the getPlayerURL REST API method for the Video resource or the VideoService/GetPlayerURL gRPC API call.
For details on how to get a link to your video, see Getting started with the Yandex Cloud Video API