mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-04 18:15:01 +02:00
Fixed closePlayback
This commit is contained in:
parent
13665af0ed
commit
2f8e30accb
6 changed files with 16 additions and 17 deletions
|
@ -498,10 +498,6 @@ export default {
|
|||
resetStream(startTime) {
|
||||
this.closePlayback()
|
||||
},
|
||||
closePlayback() {
|
||||
if (!this.playbackSession) return
|
||||
AbsAudioPlayer.closePlayback()
|
||||
},
|
||||
handleGesture() {
|
||||
var touchDistance = this.touchEndY - this.touchStartY
|
||||
if (touchDistance > 100) {
|
||||
|
@ -553,6 +549,8 @@ export default {
|
|||
this.showFullscreen = false
|
||||
this.isEnded = false
|
||||
this.playbackSession = null
|
||||
|
||||
AbsAudioPlayer.closePlayback()
|
||||
},
|
||||
//
|
||||
// Listeners from audio AbsAudioPlayer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue