Skip to content

arBmind/bespoke-onstage

 
 

Repository files navigation

bespoke-onstage

An adapter for using the onstage shell (aka presenter mode) from DZSlides to drive a Bespoke.js presentation.

Screenshot
Note
A modified version of the onstage.html file from DZSlides is included in this plugin, but this plugin also works if you use the original file from DZSlides.

Example

This repository includes a demo folder that shows this plugin in action. To view it locally, you first need to clone this repository:

$ git clone https://github.com/opendevise/bespoke-onstage && cd bespoke-onstage

Next, install the dependencies inside the project folder using npm:

$ npm install

Next, visit the file demo/onstage.html in your browser. In the prompt that appears, type index.html to see the adapter in action.

Alternatively, in the prompt you can type the path (either absolute or relative to the demo folder) to any Bespoke.js presentation that has this plugin enabled.

Download

Download the production mode version or the development mode version, or use a package manager (NOT YET AVAILABLE!).

npm

$ npm install bespoke-onstage

Bower

$ bower install bespoke-onstage

Usage

This plugin is shipped in a UMD format, meaning it is available as a CommonJS/AMD module or as a browser global.

For example, when using CommonJS modules:

var bespoke = require('bespoke'),
  onstage = require('bespoke-onstage');

bespoke.from('.deck', [
  onstage()
]);

When using a browser global:

bespoke.from('.deck', [
  bespoke.plugins.onstage()
]);

Once the onstage plugin is added, open the file node_modules/bespoke-onstage/demo/onstage.html and enter the absolute URL to your presentation. You will see a presenter console that you can use to drive the presentation in another browser window.

Launch the presentation window by clicking on Launch.

License

About

An adapter for using the onstage shell from DZSlides to drive a Bespoke.js presentation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%