Fixed closePlayback

This commit is contained in:
Rasmus Krämer
2022-04-18 12:11:29 +02:00
parent 13665af0ed
commit 2f8e30accb
6 changed files with 16 additions and 17 deletions
+2 -4
View File
@@ -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