platform/video.videojs/dist/video.es.js
function _handleMultipleEvents(fn, elem, types, callback) {
  types.forEach(function (type) {
    // Call the event method for each one of the types
    fn(elem, type, callback);
  });
}
function _handleMultipleEvents(fn, elem, types, callback) {
  types.forEach(function (type) {
    // Call the event method for each one of the types
    fn(elem, type, callback);
  });
}
Loops through an array of event types and calls the requested method for each type.

@param {Function} fn
The event method we want to use.

@param {Element|Object} elem
Element or object to bind listeners to

@param {string} type
Type of event to bind to.

@param {EventTarget~EventListener} callback
Event listener.