GithubHelp home page GithubHelp logo

arthurk12 / plugin-generic-link-share Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bigbluebutton/plugin-generic-link-share

0.0 0.0 0.0 161 KB

License: GNU Lesser General Public License v3.0

JavaScript 4.39% TypeScript 73.99% CSS 19.76% HTML 1.86%

plugin-generic-link-share's Introduction

Generic Sharing of a Webpage

What is it?

This plugin is one of the official BigBlueButton plugins. It basically opens up a link that the presenter wants. That might be a video, a document, or anything that supports being rendered in an iFrame.

Running the Plugin from Source

  1. Start the development server:
cd $HOME/src/plugin-generic-link-share
npm install
npm start
  1. Add reference to it on BigBlueButton's settings.yml:
  plugins:
    - name: GenericLinkShare
      url: http://127.0.0.1:4701/static/GenericLinkShare.js
      dataChannels:
        - name: urlToGenericLink
          writePermission: ['moderator','presenter']
          deletePermission: ['moderator', 'sender']

Building the Plugin

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

cd $HOME/src/plugin-generic-link-share
npm install
npm run build-bundle

The above command will generate the dist folder, containing the bundled JavaScript file named DecreaseVolumeOnSpeak.js. This file can be hosted on any HTTPS server.

To use the plugin with BigBlueButton, add the plugin's URL to settings.yml as shown below:

public:
  app:
    ... // All app configurations
  plugins:
    - name: GenericLinkShare
      url: <<PLUGIN_URL>>
      dataChannels:
        - name: urlToGenericLink
          writePermission: ['moderator','presenter']
          deletePermission: ['moderator', 'sender']
  ... // All other configurations

Alternatively, you can host the bundled file on the BigBlueButton server by copying dist/GenericLinkShare.js to the folder /var/www/bigbluebutton-default/assets/plugins. In this case, the <<PLUGIN_URL>> will be https://<your-host>/plugins/GenericLinkShare.js.

plugin-generic-link-share's People

Contributors

guileme avatar antobinary avatar tiagojacobs avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.