Configuration data for the media player

Properties

capBitrateToSize:Null<Bool>

Player will cap the bitrate based on the size of the player.

Default is true

initialBuffer:Null<Float>

TODO

maxBitrate:Null<ApiBitrateValue>

Governs the highest bitrate the stream is allowed to shift up to regardless of bandwidth

minBitrate:Null<ApiBitrateValue>

Governs the lowest bitrate the stream is allowed to shift down to regardless of bandwidth

muted:Null<Bool>

If media should be muted

Default is false, unless user value persisted or content is forced to auto play

offset:Null<ApiTimeValue>

The initial time which content will start to play

playBuffer:Null<Float>

TODO

stallTimeout:Null<Int>

Time until media playback is interrupted if it is found to be unexpectedly stalled.

startBitrate:Null<ApiBitrateValue>

Currently not implemented due to limitations of the media engine, use startIndex for now

startIndex:Null<Int>

Forces the starting bitrate to be the bitrate at this index value

useNativeControls:Null<Bool>

If native controls should be used for the media player

Default is false

volume:Null<ApiVolumeValue>

Media volume, with values between 0 and 1

Default is 1, unless user value persisted