Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

salvatorecordiano/reveal-js-pubnub-remote-control-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A plugin forReveal.js allowing to easily usePubNub API to advance through your slides. It remotely allows advancing the slideshow to the next slide or fragment.

Installation

Copy the filespubnub-remote-control.js into the plugin folder of your reveal.js presentation, i.e.plugin/pubnub-remote-control.

Add the plugins to the dependencies in your presentation, as below.

Reveal.initialize({// ...dependencies:[// ...{src:'https://cdn.pubnub.com/sdk/javascript/pubnub.4.4.0.min.js',async:true},{src:'plugin/pubnub-remote-control/pubnub-remote-control.js',async:true},// ...]});

Configuration

Thepubnub-remote-control.js plugin has several parameters that you can set for your presentation by providing anpubnubRemoteControl option in the reveal.js initialization options.Not all configuration parameters are optional.

Reveal.initialize({// ...pubnubRemoteControl:{subscribeKey:'PUBNUB SUBSCRIBE KEY',// PubNub subscribe keypublishKey:'PUBNUB PUBLISH KEY',// PubNub publish keyinputChannel:'input',// the channel used to receive remote commandsoutputChannel:'output',// the channel used to update presentation status},// ...});

[8]ページ先頭

©2009-2025 Movatter.jp