mediaelement icon indicating copy to clipboard operation
mediaelement copied to clipboard

Video in Android - 'Pause' jumps the video back (sometimes several minutes)...

Open jbhorsewriter7 opened this issue 13 years ago • 2 comments

In Android (only) when the 'pause' button is clicked, the video skips back -- sometimes several minutes.

This is frustrating when you are watching a video and it loses your place every time you pause.

Is there any workaround or fix for this? Or has anyone else seen this?

jbhorsewriter7 avatar May 08 '13 19:05 jbhorsewriter7

Here is my 'cheat' to make it work in android... also works in other browsers/os as far as I can tell.

mediaElement.addEventListener('pause', function(e) {
    var myTime = mediaElement.currentTime;
    mediaElement.setCurrentTime(myTime);
}, false);

jbhorsewriter7 avatar May 24 '13 16:05 jbhorsewriter7

@jbhorsewriter7 Closing old issues. If you'd like to reopen this, let us know. Thanks!

rafa8626 avatar Aug 10 '16 10:08 rafa8626