Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
VideoJS event list
// The events are from
import videojs from 'video.js'
const Plugin = videojs.getPlugin('plugin')
const EVENTS = [
class EventLogger extends Plugin {
constructor(player) {
this.on(player, EVENTS, this.logEvents)
logEvents(event) {
* This function stops the plugin on dispose
dispose() {
videojs.log('the EventLogger plugin is being disposed')
export default EventLogger

This comment has been minimized.

Copy link

commented May 10, 2019

is there an event for quality/adaption change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.