+ 1

Video play and pause event problem

I need to do some specific functions when ever a video is played or paused. Yes I'm using basic "onplay" and "onpause" events but the problem is that those events will also be called when the video lags for some reason. When video lags and is waiting to be loaded it calls the pause event and when its ready it calls the play event. I need to call these only when the video is played or paused using a mouse click.

25th Oct 2019, 7:36 PM
Toni Isotalo
Toni Isotalo - avatar
1 Answer
25th Oct 2019, 10:29 PM
Xyenia 🦉
Xyenia 🦉 - avatar