Skip to content

johnpolacek/controldeck.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

controldeck.js

Control HTML5 Presentations with node.js

Created by John Polacek

Getting Started

First, download the source. Open up a terminal window, install the dependencies, and run the app.

$ npm install
$ node app

Go to http://localhost:8080 to view the demo page.

Choose one of the demos and open the slides and controller links in separate windows. Push the buttons in the controller window to control the slides.

Make Your Own

Create your own slide deck using one of the presentation frameworks. Embed the socket.io and controldeck-slide.js scripts at the bottom of the page, before the </body> tag.

<!-- controldeck.js -->
<script src="/socket.io/socket.io.js"></script>
<script src="/controldeck-slides.js"></script>

Use the 2 button controller or create your own. Refer to the examples for how to do it. The code is straightforward. The controller pages simply use Node.js and socket.io to pass along commands to the slides page.


Draftfcb Chicago

We are the development group at Draftfcb Chicago. If you want to work on big digital ideas for big brands, get in touch with us at devrecruiting@draftfcb.com.


The MIT License (MIT) Copyright © 2013 John Polacek

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

control html5 presentations with node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages