kmoskwiak / videojs-resolution-switcher

Resolution switcher adds the ability to select the video quality in video.js player.
https://kmoskwiak.github.io/videojs-resolution-switcher/
Other
404 stars 243 forks source link

VIDEOJS: ERROR: TypeError: Cannot read property 'one' of undefined #95

Open hefeng1208 opened 7 years ago

hefeng1208 commented 7 years ago

I tried to use the plugin but I made the mistake image

hefeng1208 commented 7 years ago

RESOLVED,The plug-in needs to be updated.

neilhem commented 7 years ago

When will be next release?

hefeng1208 commented 7 years ago

Unfortunately,I use the latest of the version

DECEiFER commented 6 years ago

Here is a fix for video.js 6.x. Just a few modifications needed. I don't think I've tested everything but the resolution switching works for me fine and the deprecation warnings are also gone, so I consider it a job done for my own needs at least.

The below was modified from the latest version of videojs-resolution-switcher. Any modification I made has the following comment above it: / DECEiFER: Modified for video.js 6.x /

Use my file below or work in the modifications yourself using the above comment as a reference to find what was modified.

videojs-resolution-switcher.js.zip