Skip to content

Commit

Permalink
Merge pull request #149 from Arthurk12/app-entry
Browse files Browse the repository at this point in the history
[3.1] feat(extensible-area): add apps gallery extensible area
  • Loading branch information
antobinary authored Feb 18, 2025
2 parents dc07586 + f85bbf8 commit 2d5a602
Show file tree
Hide file tree
Showing 21 changed files with 10,383 additions and 4 deletions.
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

0 comments on commit 2d5a602

Please sign in to comment.