Open hexray-newbee opened 6 years ago
@hxl-dy, I was able to get around this issue by setting global videojs and flvjs properties in Webpack using ProvidePlugin:
new webpack.ProvidePlugin({
'window.videojs': path.resolve('node_modules/video.js/dist/video'),
'window.flvjs': path.resolve('node_modules/flv.js/dist/flv.js')
})
VIDEOJS: ERROR: The "flvjs" tech is undefined. Skipped browser support check for that tech.