1.1.0 • Published 8 years ago
bespoke-multimedia v1.1.0
bespoke-multimedia
Toggles playback of audio and (native, Vimeo or YouTube) video, toggles or restarts animations in SVGs and restarts animated GIFs in a Bespoke.js presentation.
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'),
multimedia = require('bespoke-multimedia');
bespoke.from('.deck', [
multimedia()
]);
When using browser globals:
bespoke.from('.deck', [
bespoke.plugins.multimedia()
]);
For more information about options and how the plugin works, see the complete README.