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
This does not seem to work with new player in react when THEOplayer is imported from the npm package. var Button = THEOplayer.videojs.getComponent("Button");
Can you give a hint how it should be done? I can also make a PR, I think it will be helpful for others.
The text was updated successfully, but these errors were encountered:
That said, if you're looking to build a player UI using React, we would highly recommend you check out our Open Video UI for React. This new UI doesn't use video.js, instead it's built directly out of React components, making it much easier to use in a React app. See the documentation to get started. 😉
Hi @MattiasBuelens
We are trying to implement a react version of theoplayer v7 using the npm package.
In older versions UI was created through videojs, like in the guide here.
https://www.theoplayer.com/docs/theoplayer/how-to-guides/ui/how-to-insert-a-button/
This does not seem to work with new player in react when THEOplayer is imported from the npm package.
var Button = THEOplayer.videojs.getComponent("Button");
Can you give a hint how it should be done? I can also make a PR, I think it will be helpful for others.
The text was updated successfully, but these errors were encountered: