Polls
This overlay/dock is used to display and administer multiplatform surveys.
The installation and configuration of our dock are necessary for this overlay to work ; chat
events must also be enabled for every configured platform.
Overlay
https://obs.multistream.tools/v1/wrapper?url=https://obs.multistream.tools/v1/overlays/polls/overlay
This form is intended to be integrated into OBS as a browser source and displays a survey on your stream as well as its progress in real time. Your spectators, present on different platforms, will be able to vote by posting the numbers corresponding to their choices in their respective chats; they will also be able to change their mind as long as the survey remains open.
Parameters
In addition to the system parameters common to all overlays, specific parameters are available:
name | value | optional |
---|---|---|
position | topleft , topmiddle , topright , middleleft , middle , middleright , bottomleft , bottommiddle , bottomright | yes |
The optional parameter named position
allows you to lock the position at which the poll appears on the screen. This can be useful when you are simultaneously setting up:
- a horizontal format feed where the polls overlay position is free
- a vertical format feed where the polls overlay must have a fixed position so that it is not invisible or cropped when changed via the dock
Two browser sources will therefore be configured, one for each feed, the second using the position
parameter.
https://obs.multistream.tools/v1/wrapper?url=https://obs.multistream.tools/v1/overlays/polls/overlay?position=middle
Variables
Specific CSS variables useful when writing a theme are as follows:
name | value | description |
---|---|---|
--background | Color (rgba(0, 0, 0, 0.9) by default) | Poll background color |
--barColor | Color (#fcb30d by default) | Progress bars color |
--barSize | Size (5px by default) | Progress bars height |
--choiceBackground | Color (#aa1af8 by default) | Choice numbers background color |
--duration | Duration (0.5s by default) | Spawn animation duration |
--shadowColor | Color (black by default) | Text shadow color |
--votesBackground | Color (#333 by default) | Vote counters background color |
--votesColor | Color (#999 by default) | Vote counter text color |
--votesText | Text ('votes: ' by default) | Vote counters text |
The value of the --votesText
variable becomes 'votes :'
when the overlay is translated into French.
Those of our CSS framework having been redefined are as follows:
name | value |
---|---|
--fontFamily1 | 'Bebas Neue' (from Google Fonts) |
--fontSize | 30px |
Configurator
Dock
https://obs.multistream.tools/v1/wrapper?url=https://obs.multistream.tools/v1/overlays/polls/dock
This form is intended to be integrated into OBS as a custom browser dock and displays, for the streamer only, a survey administration interface.
To create a survey you will need to enter a subject, define at least two choices by clicking on the Add button, leave or not the possibility of carrying out a blank vote then click on the Start button.
Once you have counted enough votes you will need to click on the Stop button to display the final result then on the Close button to close/hide the survey.
It is also possible, at any time, to change the position of the overlay on the screen by clicking on one of the nine buttons provided for this purpose.
Your settings are automatically saved and preserved between restarts of OBS on a given computer.
Parameters
This dock currently does not offer any specific parameters in addition to the system parameters common to all overlays.