mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-03 01:24:37 +02:00
Android cleaning up chromecast player and more failed attempts
This commit is contained in:
parent
e5c8d5d4d4
commit
ef65b4c278
7 changed files with 112 additions and 51 deletions
|
@ -109,7 +109,7 @@ export default {
|
|||
playbackSession: null,
|
||||
// Others
|
||||
showChapterModal: false,
|
||||
showCastBtn: false,
|
||||
showCastBtn: true,
|
||||
showFullscreen: false,
|
||||
totalDuration: 0,
|
||||
currentPlaybackRate: 1,
|
||||
|
@ -455,15 +455,9 @@ export default {
|
|||
}
|
||||
this.seek(time)
|
||||
},
|
||||
playPauseClick() {
|
||||
async playPauseClick() {
|
||||
if (this.isLoading) return
|
||||
if (this.isPaused) {
|
||||
console.log('playPause PLAY')
|
||||
this.play()
|
||||
} else {
|
||||
console.log('playPause PAUSE')
|
||||
this.pause()
|
||||
}
|
||||
this.isPlaying = !!((await AbsAudioPlayer.playPause()) || {}).playing
|
||||
},
|
||||
play() {
|
||||
AbsAudioPlayer.playPlayer()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue