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: BlazeVideosPlayerHeadingTextStyleThe heading text style for the videos player.
For detailed information about the heading text style, see BlazeVideosPlayerHeadingTextStyle.
buttons
var buttons: BlazeVideosInlineInteractivePlayerButtonsStyleThe buttons style for the videos player.
For detailed information about the button configurations, see BlazeVideosInlineInteractivePlayerButtonsStyle.
backgroundColor
@ColorInt var backgroundColor: IntThe background color of the videos player's view.
seekBar
var seekBar: BlazeVideosPlayerSeekBarStyleThe 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
}Updated 11 days ago
