videojs~videojs.EventTarget()

new EventTarget()

EventTarget is a class that can have the same API as the DOM EventTarget. It adds shorthand functions that wrap around lengthy functions. For example: the on function is a wrapper around addEventListener.

See:
  • EventTarget Spec">www.w3.org/TR/DOM-Level-2-Events/events.html#Events-EventTarget}