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:
© 2014 Microsoft