0

I am creating a Firefox screenshot plugin for which I need to open an html page rendering screen share in https ()

Locally using AddOn SDK, my url of opened html file is : resource://jid1-q3wuqdulcvnnrq-at-jetpack/toolbar_button/data/index.html
Now, on this link I get an error :

 In about:config, please enable media.getusermedia.screensharing.enabled
and add this site's domain name to media.getusermedia.screensharing.allowed_domains in about:config

Is there some way to set tab.open(){} such that it is rendered in secure mode. Ref. : This page Clicking the Window button on above link redirects page to https mode for screen sharing.

Also in about:config => media.getusermedia.screensharing.allowed_domains => need to allow resource file domain.

Can someone please guide to enable getUserMedia on firefox.

cosmoloc
  • 2,884
  • 5
  • 29
  • 48
  • 1
    try asking also at https://ask.mozilla.org – Noitidart Oct 31 '14 at 21:09
  • thanks @Noitidart for responding. I guess thats the last stop – cosmoloc Nov 03 '14 at 05:05
  • sometimes they takea while but they have the people that know the internals so they will eventually respond. you can get on irc and ask people to take a look at your topic too :) but downside is you have to wait all day and stay online on irc, and hope for response and then keep trying. – Noitidart Nov 03 '14 at 05:25
  • Yes indeed. To cut the time, I have hosted my local file on a test server. And can see the file functioning there perfectly. However it has been authenticated by Basic HTTP Authentication. So now working on opening the hosted file with authentication within the add-on. – cosmoloc Nov 03 '14 at 09:29
  • 1
    Ask on irc.mozilla.org in #media (preferably in European-friendly times for this question, m-f) – jesup Nov 04 '14 at 16:53

0 Answers0