I have built a react video player with custom controls. One can search and add videos by a key word. All fetched videos will be shown in video queue.
|
|- public # Any files within this directory will not be processed by Webpack but copied directly to the build folder.
|- src: # Contains all source code for the React application.
|
|- api
|-pexels.js # Axios configuration for PEXELS APIs.
|- assets # Contains icons and helper functions.
|- components # Contains all the components used within the app.
|- pages # Contains all the pages of the app.
|- Home.js
|- styles # Contains sass files.
|- App.js
|- index.js
- Play/Pause
- Replay/Forward 10 Seconds
- Volume
- Playback Speed
- Fullscreen
Create a video player with custom controls like one below.
- You can either have it play a YouTube video or local video (pick one of them).
- When
hovering
over the video it shouldshow just the controls
. - When user
pauses
the video it shouldshow the title, channel name, video views and description of video (3 lines only)
. - The controls and details should auto hide after certain time.
- Use emojis in your git commit message
- Clean code and structure is top priority.
These are just for you to try out, it wont be held against you if you decide to not do these.
- Showing a queue next to the player.
- Adding responsive layout for mobile.
- Adding option for user to load a playlist/video.