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.


element.oncuechange = handlerFunction;
var handlerFunction = element.oncuechange;

handlerFunction is either null or a JavaScript function specifying the handler for the event.


Specification Status Comment
HTML Living Standard
The definition of 'oncuechange' in that specification.
Living Standard

Browser compatibility

BCD tables only load in the browser

See also