Is there a way to stop a HTML5 video without using pause()?
I don’t want to stop the video with pause() because then I trigger my pause event handler. Also setting currentTime to video end is not a solution, because that will also trigger custom event handling for the ended event.
[Added my comment in the question as an answer] An easy but no the best solution would be to create a variable and check in the custom handler.