Closed blumonn closed 5 years ago
Hi @blumonn, I've the same error, did you find a solution?
I think the dist is broken in ES : https://github.com/pivotshare/videojs-http-source-selector/blob/master/dist/videojs-http-source-selector.es.js#L1
Should it be videojs
instead of videojs$1
?
@bricesanchez I imported videojs in the components and built the plugin again. that seemed to work for me.
Until this is fixed via PR, I've been importing this library as
import videojs from 'video.js';
window.videojs = videojs;
require('videojs-http-source-selector');
Hi,
after building the plugin and importing in my project, trying to run the project gives me the following error :
after some digging, seems like this is a problem related to this generator-videojs-plugin issue, which happened because of something funky with rollup.
How to resolve this? Any help is much appreciated.