GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

BlazeVideosInlineInteractivePlayerStyle - Android

The BlazeVideosInlineInteractivePlayerStyle class represents the style configuration for inline interactive video players.

Interactive players provide full user control and engagement capabilities within an inline context. They support comprehensive controls and rich interactive features while remaining embedded in the host application's UI.

Properties

headingText

var headingText: BlazeVideosPlayerHeadingTextStyle

The heading text style for the videos player.

For detailed information about the heading text style, see BlazeVideosPlayerHeadingTextStyle.

buttons

var buttons: BlazeVideosInlineInteractivePlayerButtonsStyle

The buttons style for the videos player.

For detailed information about the button configurations, see BlazeVideosInlineInteractivePlayerButtonsStyle.

backgroundColor

@ColorInt var backgroundColor: Int

The background color of the videos player's view.

seekBar

var seekBar: BlazeVideosPlayerSeekBarStyle

The seek bar style configuration for the videos player.

For detailed information about the seek bar style, see BlazeVideosPlayerSeekBarStyle.

Style Customization

The interactive player style can be customized:

val customInteractiveStyle = BlazeVideosInlineInteractivePlayerStyle.base().apply {
    backgroundColor = Color.BLACK
    
    // Customize heading text
    headingText.textColor = Color.WHITE
    headingText.textSize = 18f
    
    // Customize buttons
    buttons.share.isVisible = false
    buttons.like.tintColor = Color.RED
    buttons.playPause.backgroundColor = Color.parseColor("#80000000")
    
    // Customize seek bar
    seekBar.isVisible = true
    seekBar.progressColor = Color.BLUE
}

Did this page help you?