The oncuechange
property of the GlobalEventHandlers
mixin is the EventHandler
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.
Syntax
element.oncuechange = handlerFunction; var handlerFunction = element.oncuechange;
handlerFunction
is either null
or a JavaScript function specifying the handler for the event.
Specification
Specification | Status | Comment |
HTML Living StandardThe definition of 'oncuechange' in that specification. | Living Standard |
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Update compatibility data on GitHub
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
oncuechange
|
Chrome
Full support Yes |
Edge
Full support ≤79 |
Firefox Full support 68 Full support 68 Notes' Added for the Notes' Added for the |
IE
? |
Opera
? |
Safari
? |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android Full support 68 Full support 68 Notes' Added for the Notes' Added for the |
Opera Android
? |
Safari iOS
? |
Samsung Internet Android
Full support Yes |
Legend
- Full support
- Full support
- Compatibility unknown
- Compatibility unknown
- See implementation notes.'
- See implementation notes.
See also
GlobalEventHandlers.oncuechange by Mozilla Contributors is licensed under CC-BY-SA 2.5.