当终端可以播放媒体文件时触发该canplaythrough事件,估计加载足够的数据来播放媒体直到其结束,而不必停止以进一步缓冲内容。
General info
- Specification
- HTML5 media
- Interface
- Event
- Bubbles
- No
- Cancelable
- No
- Target
- Element
- Default Action
- None.
Properties
| Property | Type | Description | 
|---|---|---|
| target只读 | EventTarget | The event target (the topmost target in the DOM tree). | 
| type只读 | DOMString | The type of event. | 
| bubbles只读 | Boolean | Whether the event normally bubbles or not | 
| cancelable只读 | Boolean | Whether the event is cancellable or not? |