The Pick Random User Plugin shows a modal for moderator to pick a user (mainly viewer but it could also be a moderator) randomly out of the whole list of users present in a meetings.
To build the plugin for production use, follow these steps:
cd $HOME/src/plugin-pick-random-user-plugin
npm ci
npm run build-bundle
The above command will generate the dist
folder, containing the bundled JavaScript file named PickRandomUserPlugin.js
. This file can be hosted on any HTTPS server along with its manifest.json
.
If you install the Plugin separated to the manifest, remember to change the javascriptEntrypointUrl
in the manifest.json
to the correct endpoint.
To use the plugin in BigBlueButton, send this parameter along in create call:
pluginManifests=[{"url":"<your-domain>/path/to/manifest.json"}]
Or additionally, you can add this same configuration in the .properties
file from bbb-web
in /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties
As for development mode (running this plugin from source), please, refer back to https://github.com/bigbluebutton/bigbluebutton-html-plugin-sdk section Running the Plugin from Source