Skip to content

SoluLab/auto-play-video-interview-react-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auto Play Video Task

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

Task

  1. You need to fix the dynamic height issue in the carousel
  2. You need to implement an autoplay feature in this task for that,
  • If the video is visible then it should start playing
  • If 2 videos are in view then the video which was played previously should be keep playing
  • Once the full video is complete then it shouldn't be playing until the user play it manually)
  • Video must also stop if the slide change e.g. if 1st video play and we change the slide then 1st video must stop playing and 2nd video start playing

About

This task is for implementing autoplay feature in ReactJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published