assignMdashEvents = (e) => {
				if (e.type.toLowerCase() === 'error') {
					mediaElement.generateError(e.message, node.src);
					console.error(e);
				} else {
					const event = createEvent(e.type, mediaElement);
					event.data = e;
					mediaElement.dispatchEvent(event);
				}
			}
Custom M(PEG)-DASH events

These events can be attached to the original node using addEventListener and the name of the event,
not using dashjs.MediaPlayer.events object
@see http://cdn.dashjs.org/latest/jsdoc/MediaPlayerEvents.html