Skip to content

Leap Motion controlled HTML5 video playback, as a VideoJS plugin

Notifications You must be signed in to change notification settings

du-song/videojs-leapmotion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Leap Motion plugin for Video.js

A Video.JS plugin that let you control video playback with Leap Motion.

Using the Plugin

Add the following to head (leap.js is from official SDK)

<link href="videojs.leapmotion.css" rel="stylesheet" />
<script src="leap.js"></script>
<script src="videojs.leapmotion.js"></script>

and body (to activate the plugin)

<script>videojs('your_video_element_id').LeapMotionPlugin();</script>

Supported gestures:

  • Swipe left: step forward 5s
  • Swipe right: step backward 5s
  • key tap (tap downward): play/pause

License

MIT

About

Leap Motion controlled HTML5 video playback, as a VideoJS plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published