Skip to content

Use Event.target not Event.srcElement where possible

Created by: davemevans

While testing Firefox MSE implementation a couple of issues were noted:

  • Event.srcElement is not available in Firefox. Event.target should be preferred where available. (#590 (closed))
  • I noticed that e.error was needlessly logged on video error when it was not defined, adding nothing helpful to the logs.

Merge request reports