videojs-abloop
videojs-abloop copied to clipboard
videojs is undefined when importing to React component
Hi! thank you very much for this plugin, I been testing it on plain html5 and works fine.
Now Im trying to use it on a React (18) project using the VideoJS component.
VideoJS Component as taken from this source.
My App.js component with pluging offset
My App.js component with pluging abloop
Note that in both cases I use and register the plugins in the same fashion. offset
plugin works just fine, but then with abloop
React says that videojs
is undefined on abloop
module.
Any help importing it to React properly?