-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #149 from Arthurk12/app-entry
[3.1] feat(extensible-area): add apps gallery extensible area
- Loading branch information
Showing
21 changed files
with
10,383 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
|
||
 | ||
|
||
## 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` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/" | ||
} |
Oops, something went wrong.