Skip to content

Latest commit

 

History

History

poll

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Poll plugin

Section under construction

The poll plugin provides the capability to include instant polling within presentations using the seminar plugin. A host can open a seminar room and share a link with the room name to anyone else. Everyone with the link can follow the hosted presentation and take part in the poll. To participate in a poll the client must be connected to an open seminar room, otherwise the vote will be ignored. When connected to a room, the vote will be sent to the host and the aggregated results are sent to all participants. The client presentations will be automatically update with new votes by other participants.

Check out the demo

Setup

To use the plugin include

<!-- Seminar plugin -->
<script src="https://cdn.jsdelivr.net/npm/reveal.js-plugins@latest/seminar/plugin.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/4.6.1/socket.io.js"></script>
<!-- Poll plugin requires seminar plugin -->
<script src="https://cdn.jsdelivr.net/npm/reveal.js-plugins@latest/poll/plugin.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/reveal.js-plugins@latest/poll/style.css">

to the header of your presentation and configure reveal.js and the plugin by

Reveal.initialize({
	seminar: {
    // add configuration here
  },
  // ...
  plugins: [ RevealSeminar, RevealPoll ],
  // ...
});

License

MIT licensed

Copyright (C) 2023 Asvin Goel