See you during your bespoke presentation!
Download the production version or the development version, or use a package manager.
First, include both bespoke.js
and bespoke-camera.js
in your page.
Then, simply include the plugin when instantiating your presentation.
bespoke.from('article', {
camera: true
});
Then add a data-camera
property in each slide you want to display your video, like so:
<article>
<section data-camera>
<p>This slide has a camera</p>
</section>
<section>
<p>This slide has not</p>
</section>
<section data-camera="fullscreen">
<p>This slide has a camera in fullscreen</p>
</section>
</article>
Plus, click on the video to put it full-screen!
$ bower install bespoke-camera
$ npm install bespoke-camera
The bespoke-camera npm package is designed for use with browserify, e.g.
require('bespoke');
require('bespoke-camera');
This plugin was built with generator-bespokeplugin.