sdkjs-plugins
sdkjs-plugins copied to clipboard
OnlyOffice Desktop Editor add plugin dont working
I downloaded the chess plugin and added it but nothing happened, even the plugin I wrote myself
At the same time display-capture causes an unbootable error with documentserver on chrome
Could you attach plugin archive you've created?
i try with https://github.com/ONLYOFFICE/sdkjs-plugins/tree/master/chess
I think your archive structure is incorrect, so I should take a look at result plugin file
chess.zip please check, thank you
You got subfolder inside it
Compare your plugin on the left and correct structure on the right
really sorry, i made a big mistake,
in documentserver I see .setAttribute(‘allow’, ‘display-capture’) causing an alert when I use chrome
@3s-ThanhLNP Could you specify in more details are your problem solved?
Because I don't quite get part about setAttribute
I have tried again many times and I have started documentserver, ‘display-capture’ just causes warning in chrome but not error Thank you for your enthusiastic help
Sorry for bothering again,
I was testing my plugin in the cloud and got the error not-allowed microphone again,
thanks for your help.
@3s-ThanhLNP I see that you're using personal.onlyoffice.com but I cannot understand how did you make your plugin work with personal, this site do not allow adding your own plugins
Thank you, I tested it on cloud service too and got the not-allowed microphone error as well And actually the plugin still works on personal version
I tested it on cloud service too
Which cloud version?
Version 11.5.0
This is version of CommunityServer, not version of DocumentServer
But I see you're using onlyoffice.sg region
Still I don't get how did you added plugin to cloud version?
I have followed this tutorial, I think maybe I need more configuration in the manifest.json section
https://www.onlyoffice.com/blog/2019/07/how-to-add-new-plugins-in-onlyoffice-cloud-service-using-chrome-extensions/?utm_source=blog&utm_medium=social&utm_campaign=plugins_for_dev
Oh, this explains
I'm never tried to to this, but maybe you're right, you should add permissions to manifest, explained here
It's weird, I still can use webkitSpeechRecognition in chrome extension, but can't use it at onlyoffcie cloud, I got allow and not-allow at the same time.
I ran webkitSpeechRecognition at "/main.js" or background.js in chrome extension then no problem, the microphone is allowed,
but when entering the window.Asc.plugin section webkitSpeechRecognition was blocked
Could you try to get chrome_extension_example
from develop?
I'm not sure but we may fixed some bugs on it
if I have new webkitSpeechRecognition (); In /speech2text/scripts/speak.js then error not allow
also if I am new webkitSpeechRecognition (); in main.js it should work since it belongs to "content_scripts", but then it will no longer work inside onlyoffice.
@DenisDeeSign could you take a look? I'm out of ideas
Hello @3s-ThanhLNP, sorry, I am not familiar with plugins development from scratch. Our dev team will investigate your issue a bit later.
Thank you very much, I will continue to find ways in the meantime