BlazeCaptionsXPosition - Android
BlazeCaptionsXPosition defines the horizontal position of the captions box within the player container.
| Value | Description |
|---|---|
Start | Aligns the captions box to the leading edge of the player. |
Center | Centers the captions box horizontally within the player. |
Custom(offsetPercent) | Positions the captions box by an offset from the leading edge, as a percentage of the player width. |
Start
Aligns the captions box to the leading edge of the player.
playerStyle.captions.positioning.xPosition = BlazeCaptionsXPosition.StartCenter
Centers the captions box horizontally within the player.
playerStyle.captions.positioning.xPosition = BlazeCaptionsXPosition.CenterCustom
Positions the captions box by a custom offset from the leading edge. The offset is a percentage of the player width. Values outside the 0..100 range are coerced into that range.
playerStyle.captions.positioning.xPosition = BlazeCaptionsXPosition.Custom(offsetPercent = 25)Updated 22 days ago
Did this page help you?
