A Netflix-style hero section video player built using React, video.js, and optimized with useCallback and useMemo. The player also includes an auto-pause feature on scroll down to improve performance.
- Netflix-style hero section video player
- Built with React and video.js
- Optimized with useCallback and useMemo hooks
- Auto-pause feature on scroll down for improved performance
The following technologies were used in the development of this project:
To get started with the Netflix Hero Section Video Player, follow these steps:
-
Clone the repository:
git clone https://github.com/v4xsh/netflix-hero-video-player.git
-
Navigate to the project directory:
cd netflix-hero-video-player
-
Install dependencies:
npm i
-
Start the development server:
npm run dev
-
Open your browser: Once the development server has started successfully, open your web browser and navigate to http://localhost:5173 to view the hero section video player.
Now, you should be able to see the hero section video player running in your browser, ready for interaction and testing.