Skip to content
/ vidsync Public

Tiny JavaScript library to synchronize <video> elements to a common BPM.

Notifications You must be signed in to change notification settings

gyng/vidsync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vidsync

Tiny JavaScript library to synchronize <video> elements to a common BPM.

Usage

  1. Include src/vidsync.js in your HTML page.

  2. Add this to your JavaScript:

    var vidsync = new VidSync(".video-element-selector", bpm, beatsPerBar);
    vidsync.run();
  3. All videos with the class .video-element-selector will be synchronized to the desired BPM.

  4. For an example application, check out examples/tiles/index.html.

NB. Due to browser limitations, too high or low a playback rate might not work as intended.

About

Tiny JavaScript library to synchronize <video> elements to a common BPM.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published