Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including bespoke-camera with all npm packages installed. Try it out:

require("bespoke/package.json"); // bespoke is a peer dependency. var bespokeCamera = require("bespoke-camera")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

bespoke-camera v1.0.0

See you during your bespoke presentation!


See you during your bespoke presentation!


Download the production version or the development version, or use a package manager.


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

For example, when using CommonJS modules:

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

bespoke.from('article', [

When using browser globals:

bespoke.from('article', [

Then add a data-camera property in each slide you want to display your video, like so:

  <section data-camera>
    <p>This slide has a camera</p>
    <p>This slide has not</p>
  <section data-camera="fullscreen">
    <p>This slide has a camera in fullscreen</p>

Plus, click on the video to put it full-screen!

Package managers


$ npm install bespoke-camera


$ bower install bespoke-camera


This plugin was built with generator-bespokeplugin.


MIT License

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free