Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

onloadeddata event

Occurs when media data is loaded at the current playback position.

HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.8.9.12Internet Explorer 9

Syntax

HTML Attribute <element onloadeddata = "handler(event)">
Event Property object.onloadeddata = handler;
attachEvent Method object.attachEvent("onloadeddata", handler)
addEventListener Method object.addEventListener("loadeddata", handler, useCapture)

Event information

SynchronousNo
BubblesNo
CancelableNo

Event handler parameters

pEvtObj [in]

Type: Event

Standards information

Remarks

The onloadeddata event is raised when data for the immediate current playback position is available. However, when the event fires, it doesn't guarantee that enough data is available to successfully begin playback.

This event occurs after onloadedmetadata and before oncanplay.

To invoke this event, do one of the following:

  • Load a media resource.

See also

Reference
How to use HTML5 to play video files on your webpage
oncanplay
oncanplaythrough

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.