buildinternet/supersized — pull request #83 by krismeister (2012-05-29 15:20:36+00:00)
Title: added vimeo slide type

Hey,

This is a good lib, thanks alot for your work.

I added functionality for vimeo. The 3 main edits are:

* Moved all the slide creation into: base._slideCreator
* Added slide type VIMEO
* Added vars.last_slide to hold index of last slide
* Added base._cleanOldSlide() to stop video from playing when it animates out.

I've also included a start_webrick.rb which starts a local server at the location of the files. The local server part is required to interact with the VIMEO api. See the readme for more info.

The demo.html is setup to set test the slides.

The data structure adds a 'type' var, but it defaults to type image if none is entered.

My skin needs are different than the one default theme in demo, so i haven't tried to fix it up. Currently the Vimeo controls are hidden by the progress bar. However you can right click to bring up a menu for VIMEO.

The new structure should make adding new types of slides in the future simple to implement.

If theres any thing else I can do to help you out to get this functionality added please tell me.

thanks again,
Kris