While the main Player experience is controlled using the settings defined in your Player configuration, additional runtime customization is achievable using client-side parameters.
Check the dedicated guide to see how to add runtime Player parameters with each embed method of the Web SDK.
| Parameters | Default | Description | Type |
|---|---|---|---|
video | undefined | The ID of the video to load. | string |
playlist | undefined | The ID of the playlist to load. | string |
aspectRatio | undefined | The aspect ratio of the Player. Possible values: | string |
customConfig | undefined | Define advertising configuration by passing in keys and values. More details. E.g. | object |
loop | false | To set the video to loop. More details. Possible values: | boolean |
scaleMode | fit | To adjust the player’s video focus. Possible values: | enum |
startTime | 0 | Specify the time (in seconds) from which the video should start playing. | number |
video
videoThe ID of the video to load.
| Type | default value |
|---|---|
| string | undefined |
playlist
playlistThe ID of the playlist to load.
| Type | default value |
|---|---|
| string | undefined |
customconfig
customconfigDefine advertising configuration by passing in keys and values. More details.
E.g. customConfig[key]=values
| Type | default value |
|---|---|
| object | undefined |
scalemode
scalemodeTo adjust the player’s video focus.
Possible values: fit fill fillLeft fillRight fillTop fillBottom
| Type | default value |
|---|---|
| enum | fit |
startTime
startTimeSpecify the time (in seconds) from which the video should start playing.
| Type | default value |
|---|---|
| number | 0 |
loop
loopTo set the video to loop. More details.
Possible values: true or false
| Type | default value |
|---|---|
| boolean | false |
