Skip to content
Simple copyleft video player for the masses
JavaScript ActionScript Java Perl VimL Emacs Lisp
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
lib
src
.gitignore
MIT.license
README.md
example-video.mp4
leftplayer.gemspec
leftplayer.html
leftplayer.js

README.md

Simple Flash video player with no controls. To install:

leftplayer <js_target_directory> <swf_target_directory>

Example:

leftplayer public/javascripts/lib public/videos/lib

To use it in your app:

var options = { 
  playerUrl: '/javascripts/lib/leftplayer.swf',
  videoDoneCallback: function() { alert('hi'); }, 
  clickURL: 'https://github.com/pkang/leftplayer', 
  bgcolor: '#FFFFFF',
  showHandCursor: true
};
$('.something').leftplayer(options);

Requires jQuery.

Something went wrong with that request. Please try again.