Skip to content

Harkindey/Annotated-interactive-html5-video-player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Annotated​ ​Interactive​ ​HTML5​ ​Video​ ​Player

This project was bootstrapped with Create React App.

To setup project run the following commands

$ git clone [email protected]:Harkindey/annotated-interactive-html5-video-player.git
$ cd annotated-interactive-html5-video-player
$ yarn install or npm install
$ yarn start or npm start

How to use

  • Copy a video file to public folder
  • Add the name and type to the component in App.js
    <Video src="./anderson.mp4" typ="video/mp4"></Video>
  • Save and Start server.

Crossfading

"To do a cross-fade, I would need two videos, or I video elements containing
the same video. I would have one video in front of the other, and gradually
change the opacity of the front one to do the cross-fade. So when the hotspot
are clicked, the next video picks it up and the former reduces opacity and
delay b4 it resets."

Latest Problem 😕

While CROSSFADING, the volume of enter video should start from 0 --> 1
while voulume of leaving video should start from 1 --> 0,
would figure out how to interpolate values or create a github issue.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published