You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm coming from hell, which is trying to make videojs-contrib-hls work with webpack videojs/videojs-contrib-hls#600, so I decided to give this module a try, and I was more lucky.
package.json should have a main entry pointing to the dist file, and in an ideal world dependencies to hls.js and video.js should be handled using the webpack standard factory function instead of relying on globals.
In the meantime, I thought I should put my working solution here :
npm i video.js@5
npm i videojs-hlsjs
npm i hlsjs.js
Hey,
I'm coming from hell, which is trying to make videojs-contrib-hls work with webpack videojs/videojs-contrib-hls#600, so I decided to give this module a try, and I was more lucky.
package.json
should have amain
entry pointing to the dist file, and in an ideal world dependencies tohls.js
andvideo.js
should be handled using the webpack standard factory function instead of relying on globals.In the meantime, I thought I should put my working solution here :
The text was updated successfully, but these errors were encountered: