N
N
Nikita2014-12-03 18:39:42
JavaScript
Nikita, 2014-12-03 18:39:42

Why doesn't addEventListener pause video work in iOS?

I use this piece of code:

VIDEO.addEventListener('pause', function (e) {
 //Some code
});

in Android everything works, when you press a pause on the video, the code inside is processed. not on iOS. Why might not work?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Agafonov, 2014-12-11
@AgaFonOff

Check everything.
Here are the docks: https://developer.apple.com/library/safari/documen...
Here is a demo: www.w3.org/2010/05/video/mediaevents.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question