GlobalEventHandlers.onloadedmetadata
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
GlobalEventHandlers
mixin 的 onloadedmetadata
属性是处理loadedmetadata
事件的事件处理器。
loadedmetadata
事件在元数据(metadata)被加载完成后触发。
语法
element.onloadedmetadata = handlerFunction; var handlerFunction = element.onloadedmetadata;
handlerFunction
应当是null
或是由JavaScript 函数声明的事件 handler。
规范
Specification |
---|
HTML Standard # event-media-loadedmetadata |
HTML Standard # handler-onloadedmetadata |
浏览器兼容性
BCD tables only load in the browser