Skip to content

amirch1/sync-videos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sync Videos

Syncing 2 videos playback

This demo shows how to sync playback of 2 videos using the following logic:

  • Primary video used for audio (secondary video is muted)
  • Combined play / pause / progress / seek events
  • Offset threshold for synching by slowing down or speeding up the secondary video (default = 0.2 sec)
  • Offset threshold for synching by seeking the secondary video to the primary video time (default = 2 sec)

Demo

License

The code is distributed under the MIT License (MIT). You can use and change it freely as long as you include the copyright notice.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published