Hi,
For some reason, I am having issues in safari on ios where it is not triggering the ended event at the end of the stream. I have tried both “onended” and “ended” but I can’t seem to get it to even console.log something.
variables.nextVideo.addEventListener("ended", () => {
console.log("ended")
endedFunc()
console.log("ended")
if (nextVideoSrc) actions.loadNextVideo(video, nextVideoSrc)
})
variables.nextVideo is Stream(document.getElementById('video"))
but I have also tried putting the ‘ended’ event just on the actual element.
Any ideas?