Skip to main content

Promoted Shows

The Bambuser player has a built-in promoted shows carousel that surfaces other live or upcoming shows to viewers while they watch. You can control its visibility using the ui.hidePromotedShows configuration flag.

The promoted shows carousel is visible by default. Pass "hidePromotedShows" to false explicitly to confirm it is enabled, or true to hide it.

application.globalBambuserSDK.GetLiveView(
modifier = Modifier.fillMaxSize(),
videoConfiguration = BambuserVideoConfiguration(
events = listOf("*"),
configuration = mapOf(
"autoplay" to true,
"currency" to "USD",
"locale" to "en-US",
"buttons" to mapOf("dismiss" to "event"),
"ui" to mapOf(
"hidePromotedShows" to false, // true = hide the promoted shows carousel
)
),
videoType = BambuserVideoAsset.Live(showId)
),
videoPlayerDelegate = videoPlayerDelegate
)

UI Configuration Reference

Both flags belong under the "ui" map in your player configuration:

Config KeyTypeDefaultDescription
ui.hidePromotedShowsbooleanfalseHides the promoted shows carousel inside the player.
ui.hidePlaybackRateButtonbooleanfalseHides the playback speed button.

ℹ️ All ui.* flags must be nested under the "ui" key, not at the top level of configuration. See Configuration and Functions for the full UI configuration reference.

Hiding All Optional UI Elements

To present a minimal player with no optional UI elements:

configuration = mapOf(
"buttons" to mapOf("dismiss" to "none"),
"ui" to mapOf(
"hideEmojiOverlay" to true,
"hideActionBar" to true,
"hideShareButton" to true,
"hideClosedCaptionsButton" to true,
"hideVolumeButton" to true,
"hidePlaybackRateButton" to true,
"hidePromotedShows" to true,
)
)