Skip to content

Commit

Permalink
[ADD] Firefox screen sharing extension, new version.
Browse files Browse the repository at this point in the history
  • Loading branch information
flashphoner committed Jan 3, 2017
1 parent 4c097b7 commit 77f2c98
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
@@ -1,12 +1,12 @@

self.port.emit("isDomainEnabled", unsafeWindow.location + "");
self.port.emit("isDomainEnabled", window.wrappedJSObject.location + "");

self.port.on("domainCheckResult", function(result) {
if (unsafeWindow.Flashphoner) {
if (typeof unsafeWindow.Flashphoner.getInstance !== "undefined") {
unsafeWindow.Flashphoner.getInstance().firefoxScreenSharingExtensionInstalled = result;
if (window.wrappedJSObject.Flashphoner) {
if (typeof window.wrappedJSObject.Flashphoner.getInstance !== "undefined") {
window.wrappedJSObject.Flashphoner.getInstance().firefoxScreenSharingExtensionInstalled = result;
} else {
unsafeWindow.Flashphoner.firefoxScreenSharingExtensionInstalled = result;
window.wrappedJSObject.Flashphoner.firefoxScreenSharingExtensionInstalled = result;
}
}
});
Expand Up @@ -2,14 +2,17 @@
"title": "Flashphoner Screen Sharing",
"name": "flashphoner-screen-sharing-extension",
"id": "@flashphoner-screen-sharing-extension",
"version": "0.0.4",
"description": "Enable screen sharing for flashphoner.com",
"version": "0.0.8",
"description": "This extension is designed to enable screen capture for Screen Sharing Web client example provided with Flashphoner WCS server.",
"main": "index.js",
"author": "Flashphoner",
"engines": {
"firefox": ">=38.0a1",
"fennec": ">=38.0a1"
},
"homepage": "http://flashphoner.com",
"license": "MIT"
"license": "MIT",
"permissions": {
"multiprocess": true
}
}

0 comments on commit 77f2c98

Please sign in to comment.