new EventTarget()
[event-target.js](https://docs.videojs.com/event-target.js.html)
, [line 7](https://docs.videojs.com/event-target.js.html#line7)
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: