Skip to content

Commit

Permalink
show and hide buffer on player initilization only
Browse files Browse the repository at this point in the history
  • Loading branch information
anilbeesetti committed Aug 22, 2023
1 parent 10fce56 commit c86f06c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ class PlayerActivity : AppCompatActivity() {

private fun initializePlayerView() {
binding.playerView.apply {
setShowBuffering(PlayerView.SHOW_BUFFERING_ALWAYS)
player = this@PlayerActivity.player
controllerShowTimeoutMs = playerPreferences.controllerAutoHideTimeout.toMillis
setControllerVisibilityListener(
Expand Down

0 comments on commit c86f06c

Please sign in to comment.