-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Video.js mangled names #497
Comments
Can you give an example of a plugin which doesn't work currently? I have not modified video.js at all from the officially distributed uglified version. If there are plugins that don't work with this, I see 2 potential problems:
I'm willing to minify the non-uglified source code myself for a small increase in filesize as long as it doesn't break anything, but if plugins are relying on undocumented APIs that seems fragile and I don't want to continually have to 'fix' video.js in order to support plugin developers' hacks. |
I tried to use videojs.progressTips.js to show tooltips with the time on progressbar. The current video.js version uses player.Ua property instead of player.techName, so plugin always quits because player.techName is undefined. |
The video.js developers have stated their reasoning for why the For what it's worth, the exact feature provided by that plugin has been merged into core for video.js 5.0 (which is not fully released yet, but I plan to upgrade CyTube to it when it is): videojs/video.js#2255. |
Thank you for your answers, I think it would be better to keep things as they are and wait for 5.0 video.js. |
Can you change www/js/video.js to unmangled version, so it will be possible to use some videojs plugins without problems with method and property names.
The text was updated successfully, but these errors were encountered: