Video Lightning

Turn any element into a lightbox or popover link for Youtube and Vimeo videos. Includes access to all embed API options for both providers as well as a healthy set of style options. Popovers are intelligently positioned and allow users to preview videos on hover.


Why?

Lots of reasons. The main one, and the reason we built it, is for quick video explainers in the appropriate places. This little plugin bootstraps getting those helpful little videos in place.


How?

Simple. Add the js your project, initialize with target and options and enjoy your video lightbox enhanced element!


Features


Demos

Those little purple links scattered throughout the page are the demos.


Docs

Docs can be found at the repo.


Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

author: Andrew Carpenter, on behalf of the musocrat team