Skip to content

scimusmn/controldeck-udp.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

controldeck-udp.js

Control HTML5 Presentations with node.js

controldeck-udp.js if a fork of controldeck.js, which was created by John Polacek

Getting Started

Clone the Git repo, install the dependencies, and run the app.

$ git clone [email protected]:scimusmn/controldeck-udp.js.git
$ 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.


The MIT License (MIT) Original copyright by John Polacek © 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.

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.5%
  • Other 0.5%