[Yandex Cloud documentation](../../../index.md) > [Yandex Cloud Video](../../index.md) > [Step-by-step guides](../index.md) > Broadcasts > Getting an embed code or link

# Getting an embed code or link to a broadcast

{% list tabs group=instructions %}

- Cloud Video UI {#console}

  1. Open the Cloud Video [home page](https://video.yandex.cloud/).
  1. Select a channel.
  1. In the ![image](../../../_assets/console-icons/antenna-signal.svg) **Broadcasts** tab, select the broadcast you need.
  1. Under **Episodes**, select an episode.

  1. Specify the required playback settings for the broadcast episode:

      1. `Play video without sound by default`
      1. `Auto play video`
      1. `Hide controls in player`.

      With [Cloud Video Player SDK for IFrame](../../sdk/iframe/index.md), you can specify additional player control and video playback settings for an HTML page, e.g., video size and looping, volume, etc.

  1. Select the preferred broadcast link format:

      * `html`: HTML embed code in Iframe format.
      * `link`: Direct link to the broadcast.

  1. Click ![copy](../../../_assets/console-icons/copy.svg) **Copy**.

- API {#api}

  Use the [getPlayerURL](../../api-ref/Episode/getPlayerURL.md) REST API method for the [Episode](../../api-ref/Episode/index.md) resource or the [EpisodeService/GetPlayerURL](../../api-ref/grpc/Episode/getPlayerURL.md) gRPC API call.

{% endlist %}