This project aims to recreate the functionality and aesthetics of YouTube's video player using Bun, React, TypeScript, and Tailwind CSS.
- Customizable player controls
- Responsive design
- Playback options (play, pause, seek)
- Volume control
- Fullscreen mode
- Clone this repository to your local machine.
- Navigate to the project directory in your terminal.
- Install dependencies by running
bun install
. - Clone the
.env.example
to a.env
file and update theVITE_VIDEO_URL
to the URL to what you want to play. - Start the development server using
bun run dev
. - Open your browser and visit
http://localhost:5173
to view the app.
- Upon running the app, you will see the custom video player interface.
- Click the play/pause button to start or pause the video.
- Drag the progress bar to seek to a specific time in the video.
- Adjust the volume using the volume slider.
- Click the fullscreen button to enter fullscreen mode.
🙏 Contributions are welcome! Please fork the repository, make your changes, and submit a pull request. For major changes, please open an issue first to discuss the proposed changes. 🙏
This project is licensed under the MIT License.