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

 浏览器兼容性

BCD tables only load in the browser

See also