Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ That being said, here are the extensible areas we have so far:

- Action bar items (button, separator)
- Action Button Dropdown Items (option, separator)
- Apps Gallery Items (entry)
- Audio settings dropdown items (option, separator)
- Camera settings dropdown items (option, separator)
- Options settings dropdown items (option, separator)
Expand Down
29 changes: 29 additions & 0 deletions samples/sample-apps-gallery-item-plugin/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Sample Apps Gallery Item Plugin

## What is it?

The Sample Apps Gallery Item Plugin serves as a demonstration of how developers can create their own custom plugins, in this case it adds an entry in the apps gallery.

![Gif of plugin demo](./public/assets/plugin.gif)

## Building the Plugin

To build the plugin for production use, follow these steps:

```bash
cd $HOME/src/plugin-apps-gallery-item
npm ci
npm run build-bundle
```

The above command will generate the `dist` folder, containing the bundled JavaScript file named `AppsGalleryItemPlugin.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`
6 changes: 6 additions & 0 deletions samples/sample-apps-gallery-item-plugin/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"requiredSdkVersion": "~0.0.70",
"name": "SampleAppsGalleryItemPlugin",
"javascriptEntrypointUrl": "SampleAppsGalleryItemPlugin.js",
"localesBaseUrl": "https://cdn.dominio.com/pluginabc/"
}
Loading
Loading