Pause and end playback if the Vue layer receives a progress update while having no played track ref.

This commit is contained in:
Marke Hallowell
2025-11-15 16:49:00 -08:00
parent 072f19e157
commit fa0b9ed6ab
+3
View File
@@ -551,6 +551,9 @@ export default {
timeupdate() {
if (!this.$refs.playedTrack) {
console.error('Invalid no played track ref')
this.pause()
this.closePlayback()
// TODO: Attempt to rehydrate Vue session without interrupting native playback.
return
}
this.$emit('updateTime', this.currentTime)