GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

BlazeVideosPlayerStyle - Android

The BlazeVideosPlayerStyle class represents the style configuration for videos.

Properties

headingText

var headingText: BlazeVideosPlayerHeadingTextStyle

The heading text style for the videos player.

buttons

var buttons: BlazeVideosPlayerButtonsStyle

The buttons style for the videos.

Seek Controls

Note: Seek buttons are only visible when the content duration is 20 seconds or longer. For shorter content, the buttons are automatically hidden regardless of their visibility setting. Each press seeks by 10 seconds. Seek buttons are hidden during ad playback (isVisibleForAds defaults to false).

seekForward - Skip forward 10 seconds

videosPlayerStyle.buttons.seekForward.isVisible = true

seekBackward - Skip backward 10 seconds

videosPlayerStyle.buttons.seekBackward.isVisible = true

backgroundColor

@ColorInt var backgroundColor: Int

The background color of the videos player's view.

cta

var cta: BlazeVideosPlayerCtaStyle

The CTA (Call to Action) button style for the videos.

seekBar

var seekBar: BlazeVideosPlayerSeekBarStyle

The seek bar style configuration for the videos player.

cast

var cast: BlazeVideosPlayerCastButtonStyle

The cast button configuration.

captions

var captions: BlazeCaptionsStyle

The closed captions style configuration for the videos player. See BlazeCaptionsStyle.


Did this page help you?