GlobalEventHandlers.onplaying

翻译不完整。 请帮助我们翻译这篇文章!

The onplaying property of the GlobalEventHandlers mixin is the EventHandler for processing playing events.

playing 事件将会在媒体做好播放准备后(因暂停或网络延迟而导致媒体数据缺失)触发。

语法

element.onplaying = handlerFunction;
var handlerFunction = element.onplaying;

handlerFunction 为 null 或一个函数 指定事件处理程序

规范

Specification Status Comment
HTML Living Standard
onplaying
Living Standard

 浏览器兼容性

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

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown

See also