--- title: 'HTMLMediaElement: loadeddata' slug: Web/API/HTMLMediaElement/loadeddata_event translation_of: Web/API/HTMLMediaElement/loadeddata_event ---

loadeddata 事件在第一帧数据加载完成后触发。

基本信息

规范
HTML5 media
接口
Event
冒泡
No
可取消
No
目标
Element
默认行为
None.

Properties

Property Type Description
target {{readonlyInline}} {{domxref("EventTarget")}} The event target (the topmost target in the DOM tree).
type {{readonlyInline}} {{domxref("DOMString")}} The type of event.
bubbles {{readonlyInline}} {{jsxref("Boolean")}} Whether the event normally bubbles or not.
cancelable {{readonlyInline}} {{jsxref("Boolean")}} Whether the event is cancellable or not.