Defines the parameters required to create a new embedded player.

interface PlayerParameters {
    channelId?: string;
    height?: string;
    playerId: string;
    playoutUrl?: string;
    videoId: string;
    width?: string;
}

Properties

channelId?: string

The id of the channel this video belongs to.

undefined
height?: string

The height of the player iframe. If both height and width are unset, the player will default to 100% width and a 16:9 aspect ratio.

undefined
playerId: string

The ID of the player configuration to use.

playoutUrl?: string

The base URL of the playout player.

'https://e.video-cdn.net/watch'
videoId: string

The ID of the video to embed.

width?: string

The width of the player iframe. If both height and width are unset, the player will default to 100% width and a 16:9 aspect ratio.

undefined