Android SDK - Player runtime parameters


While the main Player experience is controlled using the settings defined in your Player configuration, additional runtime customization is achievable using client-side parameters.


ParametersDefaultDescriptionType
video
undefinedThe ID of the video to load.string
playlist
undefinedThe ID of the playlist to load.string
customConfig
undefined

Define advertising configuration by passing in keys and values. More details.

E.g. customConfig[key]=values

object
scaleMode
fit

To adjust the player’s video focus.

Possible values: fit fill fillLeft fillRight fillTop fillBottom

enum
startTime
0Specify the time (in seconds) from which the video should start playing.number
loop
false

To set the video to loop. More details.

Possible values: true or false

boolean
defaultFullscreenOrientation
Orientation.Landscape

Specify which orientation should be used for fullscreen.

Possible values: Landscape ReverseLandscape Portrait ReversePortrait

enum