This commit is contained in:
Horis
2023-06-20 19:39:22 +08:00
parent ec7e7689d3
commit 45b29a3b6b
2 changed files with 5 additions and 3 deletions
@@ -135,7 +135,7 @@ class HttpReadAloudService : BaseReadAloudService(),
launch(Main) {
exoPlayer.addMediaItem(mediaItem)
if (!exoPlayer.isPlaying && nowSpeak == index) {
exoPlayer.playWhenReady = true
exoPlayer.playWhenReady = !pause
exoPlayer.prepare()
}
}