The oncuechange
property of the GlobalEventHandlers
mixin is the event handler for processing cuechange
events.
The cuechange
event fires when a TextTrack
has changed the currently displaying cues. The event is sent to both the TextTrack
and to the <track>
element the track is being presented by, if any; in the latter case, its handler is on an HTMLTrackElement
object.
element.oncuechange = handlerFunction; var handlerFunction = element.oncuechange;
handlerFunction
is either null
or a JavaScript function specifying the handler for the event.
Specification |
---|
HTML Standard (HTML) # handler-oncuechange |
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
oncuechange |
32 |
18 |
68
Added for the
<track> element (HTMLTrackElement ) in Firefox 68.31
Added for the
TextTrack interface in Firefox 31. |
No |
19
≤12.1-15
|
10.1 |
4.4.3 |
32 |
68
Added for the
<track> element (HTMLTrackElement ) in Firefox 68.31
Added for the
TextTrack interface in Firefox 31. |
19
≤12.1-14
|
10.3 |
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/oncuechange