升级videojs出现报错信息:Super expression must either be null or a function, not undefined

升级videojs出现报错信息:Super expression must either be null or a function, not undefined
原因是:引入了import 'videojs-contrib-hls';
猜测:新版的videojs内部集成了videojs-contrib-hls,无需再引入videojs-contrib-hl,而且报错源头也是此处.
解决方法:注释掉import 'videojs-contrib-hls'即可

你可能感兴趣的:(升级videojs出现报错信息:Super expression must either be null or a function, not undefined)