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: BlazeVideosInlinePreviewPlayerButtonsStyleThe buttons style for the videos player.
For detailed information about the button configurations, see BlazeVideosInlinePreviewPlayerButtonsStyle
backgroundColor
@ColorInt var backgroundColor: IntThe 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
}Updated 11 days ago
Did this page help you?
