GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

BlazeVideosInlinePreviewPlayerStyle - Android

The BlazeVideosInlinePreviewPlayerStyle class represents the style configuration for inline preview video players.

Preview players are designed for minimal interaction and lightweight preview experiences. They typically auto-play when visible and provide limited user controls to maintain a clean, unobtrusive viewing experience.

Properties

buttons

var buttons: BlazeVideosInlinePreviewPlayerButtonsStyle

The buttons style for the videos player.

For detailed information about the button configurations, see BlazeVideosInlinePreviewPlayerButtonsStyle

backgroundColor

@ColorInt var backgroundColor: Int

The background color of the videos player's view.

Style Customization

The preview player style can be customized:

val customPreviewStyle = BlazeVideosInlinePreviewPlayerStyle.base().apply {
    backgroundColor = Color.BLACK
    
    // Customize buttons
    buttons.mute.isVisible = false
    buttons.replay.backgroundColor = Color.parseColor("#80000000")
    buttons.replay.tintColor = Color.WHITE
}

Did this page help you?