Closed sgarchavada closed 2 years ago
I just try to implement this in my Next.js project. Follow the basic steps from documentation, and its crashing
import Flowplayer from "@flowplayer/react-flowplayer" import "@flowplayer/player/flowplayer.css" export const FlowVideoPlayer = ({src}) => { return ( <Flowplayer token="my-token" src={src} /> ) }
Hello!
You need to use a transpiler and/or bundler like Webpack + Babel to compile the JSX syntax and imports to plain javascript usable outside of modules.
I just try to implement this in my Next.js project. Follow the basic steps from documentation, and its crashing