Open JoeEarly opened 3 years ago
@LorettaLei I have got this up and going for a HLS m3u8 stream but getting loads of errors in the console.
Installed within a nuxt app and videos play, but just spit out 100s of errors.
stream
Can't seem to be able to work out the duration of the current playing stream. Any suggestion as to a fix?
Turning them off clears the error this.media.addEventListener("progress", function(t) { e.onMediaProgress(), e.$emit("onprogress", t); }), this.media.addEventListener("durationchange", function(t) { e.onMediaDurationChange(), e.$emit("ondurationchange", t); }), this.media.addEventListener("seeking", function(t) { e.onMediaSeeking(), e.$emit("onseeking", t); }), this.media.addEventListener("seeked", function(t) { e.onMediaSeeking(), e.$emit("onseeked", t); }), this.media.addEventListener("timeupdate", function(t) { e.onMediaSeeking(), e.$emit("ontimeupdate", t); }),
this.media.addEventListener("progress", function(t) { e.onMediaProgress(), e.$emit("onprogress", t); }), this.media.addEventListener("durationchange", function(t) { e.onMediaDurationChange(), e.$emit("ondurationchange", t); }), this.media.addEventListener("seeking", function(t) { e.onMediaSeeking(), e.$emit("onseeking", t); }), this.media.addEventListener("seeked", function(t) { e.onMediaSeeking(), e.$emit("onseeked", t); }), this.media.addEventListener("timeupdate", function(t) { e.onMediaSeeking(), e.$emit("ontimeupdate", t); }),
hey @JoeEarly, did you manage to solve this issue? I've been facing the same problem.
@marceloconcli sorry no I didnt
@LorettaLei I have got this up and going for a HLS m3u8 stream but getting loads of errors in the console.
Installed within a nuxt app and videos play, but just spit out 100s of errors.
stream
Can't seem to be able to work out the duration of the current playing stream. Any suggestion as to a fix?
Turning them off clears the error
this.media.addEventListener("progress", function(t) { e.onMediaProgress(), e.$emit("onprogress", t); }), this.media.addEventListener("durationchange", function(t) { e.onMediaDurationChange(), e.$emit("ondurationchange", t); }), this.media.addEventListener("seeking", function(t) { e.onMediaSeeking(), e.$emit("onseeking", t); }), this.media.addEventListener("seeked", function(t) { e.onMediaSeeking(), e.$emit("onseeked", t); }), this.media.addEventListener("timeupdate", function(t) { e.onMediaSeeking(), e.$emit("ontimeupdate", t); }),