Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

videojs is undefined when importing to React component #30

Open
istng opened this issue Dec 8, 2022 · 0 comments
Open

videojs is undefined when importing to React component #30

istng opened this issue Dec 8, 2022 · 0 comments

Comments

@istng
Copy link

istng commented Dec 8, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant