Simple webpack app that uses video.js with the hls plugin. In order for the videojs-contrib-hls plugin to play nice with webpack, the webworkify module is swapped out for the webworkify-webpack-dropin module.
Swapping out webworkify for webworkify-webpack-dropin DOES work when bundling with webpack. See:
Main issue: videojs/videojs-contrib-hls#600
Related comments: videojs/videojs-contrib-hls#600 (comment) videojs/videojs-contrib-hls#600 (comment) videojs/videojs-contrib-hls#600 (comment) videojs/videojs-contrib-hls#600 (comment) videojs/videojs-contrib-hls#600 (comment)
- npm install
- ./node_modules/webpack-dev-server/bin/webpack-dev-server.js --progress --colors
- open a browser and view http://localhost:8080/