Open Amarin2244 opened 5 months ago
I'm stuck at here
to view example locally in the terminal run:
git clone https://github.com/asashay/react-video-progress.git
cd react-video-progress
npm install
cd example
npm install
npm start
and visit the localhost pageThanks for this clear guide, You're Super But how can i use it for my own video file on C:\Users\Amarin\Desktop\MyVids\NewYork.mp4 ?? Where should i edit...
hey, you'll need to :
src
in the example/index.tsx
to match your urlimport { VideoProgress } from 'react-video-progress'
const FunctionalComponentExample = () => {
return <VideoProgress
progressStart="BottomLeft"
type="OneLine"
pathColor="red"
pathWidth="4px"
pathBorderRadius="2px"
src='YOUR_VIDEO_URL'
height="200px"
controls
/>
}
I've download it already, and don't know how to use... Can you please explain how to run that