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.