diff --git a/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/fff-bbb/@perroned-0.0.1.xpi b/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/fff-bbb/@perroned-0.0.1.xpi deleted file mode 100755 index 027f364171..0000000000 Binary files a/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/fff-bbb/@perroned-0.0.1.xpi and /dev/null differ diff --git a/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/fff-bbb/README (2).md b/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/fff-bbb/README (2).md deleted file mode 100755 index 9afde99d9f..0000000000 --- a/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/fff-bbb/README (2).md +++ /dev/null @@ -1,33 +0,0 @@ -# Enable Screen Capturing using [Firefox Extensions API](https://github.com/muaz-khan/Firefox-Extensions) - -Enable screen capturing using Firefox (for https://www.webrtc-experiment.com demos only): - -* [enable-screen-capturing.xpi](https://www.webrtc-experiment.com/store/firefox-extension/enable-screen-capturing.xpi) - -To use in your own domains: - -Modify `bootstrap.js` file, line 18: - -```javascript -['yourDomain.com', 'www.yourDomain.com'].forEach(function(domain) { - if (values.indexOf(domain) === -1) { - values.push(domain); - addon_domains.push(domain); - } -}); -``` - -And modify `install.rdf` for you extension information (name, URL, icon etc.) - -## Credits - -[Muaz Khan](https://github.com/muaz-khan): - -1. Personal Webpage: http://www.muazkhan.com -2. Email: muazkh@gmail.com -3. Twitter: https://twitter.com/muazkh and https://twitter.com/WebRTCWeb -4. Google+: https://plus.google.com/+WebRTC-Experiment - -## License - -[Firefox-Extensions](https://github.com/muaz-khan/Firefox-Extensions) are released under [MIT licence](https://www.webrtc-experiment.com/licence/) . Copyright (c) [Muaz Khan](https://plus.google.com/+MuazKhan). diff --git a/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/fff-bbb/README.md b/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/fff-bbb/README.md deleted file mode 100755 index d49d94be0b..0000000000 --- a/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/fff-bbb/README.md +++ /dev/null @@ -1,2 +0,0 @@ -#BigBlueButton Deskshare for Firefox -Enables BigBlueButton WebRTC deskshare session through Firefox \ No newline at end of file diff --git a/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/fff-bbb/bootstrap.js b/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/fff-bbb/bootstrap.js deleted file mode 100755 index e436059b1d..0000000000 --- a/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/fff-bbb/bootstrap.js +++ /dev/null @@ -1,46 +0,0 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this file, - * You can obtain one at http://mozilla.org/MPL/2.0/. - * taken from: HenrikJoreteg/getScreenMedia/firefox-extension-sample - * original source: https://hg.mozilla.org/users/blassey_mozilla.com/screenshare-whitelist/ - */ -var addon_domains = []; // list of domains the addon added -var allowed_domains_pref = 'media.getusermedia.screensharing.allowed_domains'; -var enable_screensharing_pref = 'media.getusermedia.screensharing.enabled'; - -function startup(data, reason) { - if (reason === APP_STARTUP) { - return; - } - var prefs = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces.nsIPrefBranch); - var values = prefs.getCharPref(allowed_domains_pref).split(','); - - ['*'].forEach(function(domain) { - if (values.indexOf(domain) === -1) { - values.push(domain); - addon_domains.push(domain); - } - }); - - if(prefs.getBoolPref(enable_screensharing_pref) == false) { - prefs.setBoolPref(enable_screensharing_pref, 1); - } - prefs.setCharPref(allowed_domains_pref, values.join(',')); -} - -function shutdown(data, reason) { - if (reason === APP_SHUTDOWN) { - return; - } - var prefs = Components.classes["@mozilla.org/preferences-service;1"] - .getService(Components.interfaces.nsIPrefBranch); - var values = prefs.getCharPref(allowed_domains_pref).split(','); - values = values.filter(function(value) { - return addon_domains.indexOf(value) === -1; - }); - prefs.setCharPref(allowed_domains_pref, values.join(',')); -} - -function install(data, reason) {} - -function uninstall(data, reason) {} diff --git a/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/fff-bbb/icon.png b/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/fff-bbb/icon.png deleted file mode 100755 index 4fd8505c91..0000000000 Binary files a/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/fff-bbb/icon.png and /dev/null differ diff --git a/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/fff-bbb/index.js b/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/fff-bbb/index.js deleted file mode 100755 index 3bbc578fb2..0000000000 --- a/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/fff-bbb/index.js +++ /dev/null @@ -1,9 +0,0 @@ -var self = require('sdk/self'); - -// a dummy function, to show how tests work. -// to see how to test this function, look at test/test-index.js -function dummy(text, callback) { - callback(text); -} - -exports.dummy = dummy; diff --git a/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/fff-bbb/install.rdf b/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/fff-bbb/install.rdf deleted file mode 100755 index eba1e9aacc..0000000000 --- a/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/fff-bbb/install.rdf +++ /dev/null @@ -1,21 +0,0 @@ - - - - perroned - 2 - BBB Screen Capturing in Firefox - BBB Firefox extension to enable screen capturing - 1.0 - true - perroned - http://bigbluebutton.org/ - icon.png - - - {ec8030f7-c20a-464f-9b0e-13a3a9e97384} - 33.0 - 100000.* - - - - diff --git a/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/fff-bbb/package.json b/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/fff-bbb/package.json deleted file mode 100755 index 76c5fcf89f..0000000000 --- a/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/fff-bbb/package.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "title": "BigBlueButton Deskshare for Firefox", - "name": "perroned", - "version": "0.0.1", - "description": "Enables BigBlueButton WebRTC deskshare session through Firefox", - "main": "boostrap.js", - "author": "perroned", - "engines": { - "firefox": ">=38.0a1" - }, - "license": "MIT" -} diff --git a/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/fff-bbb/test/test-index.js b/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/fff-bbb/test/test-index.js deleted file mode 100755 index b3ad6e8658..0000000000 --- a/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/fff-bbb/test/test-index.js +++ /dev/null @@ -1,19 +0,0 @@ -var main = require("../"); - -exports["test main"] = function(assert) { - assert.pass("Unit test running!"); -}; - -exports["test main async"] = function(assert, done) { - assert.pass("async Unit test running!"); - done(); -}; - -exports["test dummy"] = function(assert, done) { - main.dummy("foo", function(text) { - assert.ok((text === "foo"), "Is the text actually 'foo'"); - done(); - }); -}; - -require("sdk/test").run(exports); diff --git a/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/thing/@gdfg-0.0.1.xpi b/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/thing/@gdfg-0.0.1.xpi deleted file mode 100755 index 488ea2f43c..0000000000 Binary files a/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/thing/@gdfg-0.0.1.xpi and /dev/null differ diff --git a/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/thing/README.md b/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/thing/README.md deleted file mode 100755 index a6e4a1658f..0000000000 --- a/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/thing/README.md +++ /dev/null @@ -1,2 +0,0 @@ -#fdsfg -dfgfdgd \ No newline at end of file diff --git a/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/thing/index.js b/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/thing/index.js deleted file mode 100755 index 139600a98a..0000000000 --- a/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/thing/index.js +++ /dev/null @@ -1,46 +0,0 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this file, - * You can obtain one at http://mozilla.org/MPL/2.0/. - * taken from: HenrikJoreteg/getScreenMedia/firefox-extension-sample - * original source: https://hg.mozilla.org/users/blassey_mozilla.com/screenshare-whitelist/ - */ -var addon_domains = []; // list of domains the addon added -var allowed_domains_pref = 'media.getusermedia.screensharing.allowed_domains'; -var enable_screensharing_pref = 'media.getusermedia.screensharing.enabled'; - -function startup(data, reason) { - if (reason === APP_STARTUP) { - return; - } - var prefs = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces.nsIPrefBranch); - var values = prefs.getCharPref(allowed_domains_pref).split(','); - - ['localhost', '*', 'https://192.168.126.129/'].forEach(function(domain) { - if (values.indexOf(domain) === -1) { - values.push(domain); - addon_domains.push(domain); - } - }); - - if(prefs.getBoolPref(enable_screensharing_pref) == false) { - prefs.setBoolPref(enable_screensharing_pref, 1); - } - prefs.setCharPref(allowed_domains_pref, values.join(',')); -} - -function shutdown(data, reason) { - if (reason === APP_SHUTDOWN) { - return; - } - var prefs = Components.classes["@mozilla.org/preferences-service;1"] - .getService(Components.interfaces.nsIPrefBranch); - var values = prefs.getCharPref(allowed_domains_pref).split(','); - values = values.filter(function(value) { - return addon_domains.indexOf(value) === -1; - }); - prefs.setCharPref(allowed_domains_pref, values.join(',')); -} - -function install(data, reason) {} - -function uninstall(data, reason) {} diff --git a/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/thing/package.json b/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/thing/package.json deleted file mode 100755 index 99a4db4a9c..0000000000 --- a/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/thing/package.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "title": "fdsfg", - "name": "gdfg", - "version": "0.0.1", - "description": "dfgfdgd", - "main": "index.js", - "author": "gfdg", - "engines": { - "firefox": ">=38.0a1", - "fennec": ">=38.0a1" - }, - "license": "MIT" -} diff --git a/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/thing/test/test-index.js b/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/thing/test/test-index.js deleted file mode 100755 index b3ad6e8658..0000000000 --- a/bigbluebutton-html5/app/client/lib/bbb_verto_resources_use/BBB_FF/thing/test/test-index.js +++ /dev/null @@ -1,19 +0,0 @@ -var main = require("../"); - -exports["test main"] = function(assert) { - assert.pass("Unit test running!"); -}; - -exports["test main async"] = function(assert, done) { - assert.pass("async Unit test running!"); - done(); -}; - -exports["test dummy"] = function(assert, done) { - main.dummy("foo", function(text) { - assert.ok((text === "foo"), "Is the text actually 'foo'"); - done(); - }); -}; - -require("sdk/test").run(exports);