GlobalEventHandlers.oncuechange

oncuechange 属性属于GlobalEventHandlers,是一个处理cuechange事件的EventHandler
TextTrack更改了当前显示的提示时,cuechange 事件将会触发。

语法

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

handlerFunction 可以为 null,也可以是一个处理指定事件的JavaScript函数

规范

Specification Status Comment
HTML Living Standard
oncuechange
Living Standard  

浏览器兼容性

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
oncuechangeChrome Full support YesEdge ? Firefox 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 ?

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown
See implementation notes.
See implementation notes.

查看更多