player-ui-web-compose

player-ui-web-compose

The player-ui-web-compose module provides a Jetpack Compose wrapper around the Android PlayerView. It can be used from Compose UI while keeping the Player lifecycle caller-owned.

Add the module in addition to the main player dependency:

dependencies {
    implementation("com.bitmovin.player:player-ui-web-compose:<bitmovin-player-version>")
}

Use the same <bitmovin-player-version> as your com.bitmovin.player:player dependency. Only Bitmovin Player artifacts with the same version are compatible with each other.

The Compose API is experimental and requires opting in to ExperimentalBitmovinApi.