GlobalEventHandlers.oncuechange

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 Standard
The definition of 'oncuechange' in that specification.
Living Standard

Browser compatibility

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
oncuechangeChrome Full support YesEdge Full support ≤79Firefox Full support 68
Notes
Full support 68
Notes
Notes Added for the <track> element (HTMLTrackElement) in Firefox 68.
Full support 31
Notes
Notes Added for the TextTrack interface in Firefox 31.
IE ? Opera ? Safari ? WebView Android Full support YesChrome Android Full support YesFirefox Android Full support 68
Notes
Full support 68
Notes
Notes Added for the <track> element (HTMLTrackElement) in Firefox 68.
Full support 31
Notes
Notes Added for the TextTrack interface in Firefox 31.
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