fix: switchQuality add load() to reset HLS state after video ended
This commit is contained in:
@@ -183,6 +183,7 @@ export class VideoManager {
|
||||
const active = this.active
|
||||
this.currentSrc = src
|
||||
active.src = src
|
||||
active.load()
|
||||
this.preloaded.set(this.keyOf(active), src)
|
||||
this.waitReady(active).then(() => {
|
||||
active.currentTime = seekTime
|
||||
|
||||
Reference in New Issue
Block a user