GlobalEventHandlers.onloadeddata

GlobalEventHandlersonloadeddata 属性是事件 loadeddata的处理EventHandler

loadeddata 事件当媒体资源的第一帧加载完成时被触发。

语法

element.onloadeddata = handlerFunction;
var handlerFunction = element.onloadeddata;

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

说明

Specification Status Comment
HTML Living Standard
onloadeddata
Living Standard  

浏览器兼容

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
onloadeddataChrome Full support YesEdge ? Firefox Full support 3.5IE ? Opera ? Safari ? WebView Android Full support YesChrome Android Full support YesFirefox Android Full support 4Opera Android ? Safari iOS ? Samsung Internet Android ?

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown

参考资料