The onplaying property of the GlobalEventHandlers mixin is the event handler for processing playing events.
The playing event is fired when playback is ready to start after having been paused or delayed due to lack of media data.
The onplaying property of the GlobalEventHandlers mixin is the event handler for processing playing events.
The playing event is fired when playback is ready to start after having been paused or delayed due to lack of media data.
element.onplaying = handlerFunction; var handlerFunction = element.onplaying;
handlerFunction is either null or a JavaScript function specifying the handler for the event.
| Specification |
|---|
| HTML Standard # handler-onplaying |
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
onplaying |
32 |
12 |
9 |
9 |
19
≤12.1-15
|
9 |
4.4.3 |
32 |
9 |
19
≤12.1-14
|
9 |
2.0 |
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onplaying