Per recent MSE spec change [1], MSE objects should have EventHandler attributes for their various events. The logic for the events does not change; this feature just adds support for them via EventHandler attributes. [1]



Specification link

Specification being incubated in a Community Group

Status in Chromium


Enabled by default (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • No signal
  • No signal
  • No signals



Changes to API surface: Attributes for MediaSource events: * onsourceopen * onsourceended * onsourceclose Attributes for SourceBuffer events: * onupdatestart * onupdate * onupdateend * onerror * onabort Attributes for SourceBufferList events: * onaddsourcebuffer * onremovesourcebuffer

Search tags

EventHandler, MSE, MediaSource,

Last updated on 2021-05-05