fix: exoplayer initialization
This commit is contained in:
parent
865b96a219
commit
386e02a564
3 changed files with 6 additions and 3 deletions
|
@ -1570,7 +1570,8 @@ class ExoplayerView : AppCompatActivity(), Player.Listener, SessionAvailabilityL
|
|||
}
|
||||
}.show()
|
||||
dialog.window?.setDimAmount(0.8f)
|
||||
} else buildExoplayer()
|
||||
}
|
||||
if (!this::exoPlayer.isInitialized) buildExoplayer()
|
||||
|
||||
val isDisabled = (subtitle == null && hasExtSubtitles)
|
||||
exoPlayer.trackSelectionParameters = exoPlayer.trackSelectionParameters
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue