-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chrome extension issues #2552
Comments
changed the name of the folder to chromeext and got past that key issue. When I then tried again I get:
|
looks like you're missing a slash |
Thanks. It should have been:
I was able to create the crx and the pem files but when I did the drag and drop into the chrome extensions (chrome://extensions/) in developer mode, I was not able to "enable" the plugin. |
When installing the extension like that you need one more field: updat_url ... Look at jitsi/jidesha#36 |
I was able to set the extension and generated the crx, key and id. Manifest.json:
I uploaded the updates.xml. Contents of xml following the example from: I then updated the www.mydomain.com-config.js and the field The extension is enabled on my Chrome Extensions but shows "greyed out" (inactive) on my Chrome plugins on browser screen (top right). Inside Jitsi and an active conference, there is no screen share option. What else do I need to do to have it work in Jitsi? |
I think the extension must not be inactive. You've update in chrome with the extension containing update_url and it is still grey? |
Like you said it needs a string so 'pncmgiaoepemmikokjnoogmalaomfnab' worked and the icon for Desktop Sharing showed inside the conference. "Extension failed to install" notice, but I'm working on that. I think this may need to be updated to reflect the placing of the id as a string inside quotes as it doesn't state that clearly and the default null value of course had no quotes on it.
Browser caches might need to be refreshed afterwards. |
You know that feeling when you head is about to explode?
As is, the plugin is installed and shows on my plugins page as enabled. However, the active enabled plugins (top right on browser) shows the plugin greyed out (inactive). I'm thinking that I need to use Jitsi conference in order for it to be active. So I create a room and try the Screen Share icon which shows as an option. The result though is Screen Sharing extension failed to install. My www.mydomain.com-config.js reads
So I'm really at a loss now because its confusing. Using the "pack extension" etc option to get the crx file is for manual install. Uploading the extension as Google instructed requires no crx and just the files which were default from Jitsi for the extension. The only thing that neeed to be changed was the
I am at a loss because the plugin is greyed out (inactive) and the Jitsi conference is saying its not installed. |
Trying to go through this logically. The reason being that the Google webstore upload for extensions states the manifest.json, background.js and png files, only and as a zip file. It states no crx file and I understand why because the crx file would have come from a manual install (pack extension) and have a different id than the only you would get from the webstore for the extension. The id required for the www.mydomain.com-config.js is to tie to the extension and it makes sense that the one given by the webstore is the one that you use. So the only things to change from the jidesha files for the chrome extension would be the matches address and in the www.mydomain.com-config.js, the desktopSharingChromeExtId as a string. Here we can see that its done.
Now I'm wondering if I need the update url, but that can't be because the update url points to a crx file which we don't have since the extension was done through the webstore and there is no crx file from there. This also means no updates.xml file either. So really and truly I can't logically find a reason why the plugin is not working. But the result after all of this is the error message: screen sharing extension failed to install. |
I suppose you are installing just the chrome folder, you do not include the calendar extension part. So having a grey icon in the toolbar is because the extension does not implement any popup. |
Thank you. That's exactly what happened. I zipped the chrome folder because it contained the files that the website required. Is it so that I zip both the chrome folder and the calendar folder and upload these to the webstore? |
website = webstore (autocorrect) |
Nope, enter calendar folder. Execute the make file and it will create a target folder which you need to zip and upload it is a combination of calendar and chrome extension. |
The nightmare of Jitsi continues. I'll walk through the issues faced with adding the extension to the Chrome Webstore. The files you would need for this can be found in here: To put an extension in the webstore you do the following process of opening the calendar folder and running the 'make' file (make.sh ). This will build out the files you need for the Chrome extension. Once you run the make.sh file (just click it) you will then have files: Now you need to edit the manifest.json
At the top of the manifest is the information about your extension. Those are straightforward, just edit the text to reflect your extension name and details. Once that is done, zip the folder and then upload to the chrome store. So now you have it in the Chrome store and it becomes public. You then install it and it shows in the toolbar and also in your extensions page as enabled. You now need the hash ID for your extension given to you by Chrome webstore. You can find this hash id in your extensions page IN DEVELOPER MODE (as you have the extension installed), it says in you extension details (for example): ID: gnkbhifkgaedngockibkciflgcebiapd To enable the screen sharing on your conference interface you would need to edit the config file for this There are 2 lines which need to be modified:
The end result? "Screen sharing extension failed to install." Then you'll be in my shoes. Hands on head staring at the screen. Blank stare. |
Did you allow inline install when uploading the extension? And also did you verify your site when adding it in the upload screen of the extension? |
I did not know that the site verification was needed for this. I have now just done that and re-installed the extension but it was still the same result. As for inline installation. I had no option for this and not yet sure how to do this? |
I'm seeing this example of inline install. I already now have the site verified as well. |
Just noticed the inline install checkbox option. I have selected it and now trying again |
Update: Deleted the extension which I had installed before from the webstore. I did not understand and neither was aware that clicking the Screen Share icon would also do an install of the extension. The icon was visible in the conference and 'on-click', it installed the extension. However, the result was the same with the error message: even though the extension is there on the extensions page and the plugin bar. |
you can have a look at www.grouptawk.com |
I'm not sure that this will work. You access your website using www.grouptawk... |
Or the other way around, make sure your jidesha plugin uses www.grouptawk... |
Ok I'll give these a shot |
For the Jidesha plugin, the only thing I can see as editable is the mainfest.json
|
So what I'll do is start again with the plugin and use the www.grouptawk.com instead of grouptawk.com |
Updated manifest.json updated to:
The uploaded the zip and again started over. Cleared cached Its been 8hrs today trying to get this to work. I'll try again tomorrow. If successful I'll do another tutorial which helped others the last time. At least Jitsi developers can hopefully see things from the our side, its not as "easy" to install as its stated to be and one successful install helps us all because we share to others what needs to be done in the way they can understand. In the end everyone wins, less "issues" to reply to and the Jitsi community grows. |
There is no such extension at the moment: |
There is. The link you posted leads to: |
It now seems to be working!!! Not sure what happened. Maybe the webstore had not yet established it (even though it was in the webstore as published). But its working. Will do a tutorial for it in a bit. Thanks. |
Left with one issue. Site crashes when someone joins the room |
Strictly following the instructions on adding a chrome extension.
Edit the
manifest.json
file. You must adapt theexternally_connectable
URL:
In Developer mode on Chrome. I have pointed to the updated chrome folder in Jidesha for:
Extension root directory:
I then chose pack as the instructions stated:
...go inside Chrome to "chrome://extensions", click on the Developer Mode,
and "Pack extension". The result is a CRX file and, if you do this for
the first time, a private key used for later updates.
Instead of a CRX file, the result is:
A private key for specified extension already exists. Reuse that key or delete it first
Where is the key?
The text was updated successfully, but these errors were encountered: