The example in storybook for instantiating React Player
const App = () => {
const { reactPlayer } = useReactPlayer({
plugins: [new ReferenceAssetsPlugin()],
});
React.useEffect(() => {
reactPlayer.start(/** Add content here */);
}, []);
return <reactPlayer.Component />;
};
Omits the React.Suspense wrapper around the component
The example in storybook for instantiating React Player
Omits the
React.Suspensewrapper around the component