Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

sourceclose | onsourceclose event

Occurs when the media source is ended.

Important  This event is not supported in Internet Explorer 11 on Windows 7.
HTML5 A vocabulary and associated APIs for HTML and XHTMLIE11

 

Syntax

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

 

Event information

SynchronousNo
BubblesNo
CancelableNo

 

Event handler parameters

handler [in]

Type: function

Event handler object.

Standards information

Remarks

This event occurs when the readyState changes from either:

  • open to closed
  • ended to closed

See also

MediaSource

 

 

Show:
© 2015 Microsoft