MS BotChat (bot framework) Speech is not working in Firefox - firefox

I am using following article to enable speech, which is working fine in Chrome (even with bing speech).
https://learn.microsoft.com/en-us/azure/bot-service/bot-service-channel-connect-webchat-speech?view=azure-bot-service-3.0
However same is not working in Firefox, though it has been mentioned that it should work in Firefox.
I also posted same question here, but havent got a reply, any suggestion?
https://github.com/Microsoft/BotFramework-WebChat/issues/1141
Following is the console log of firefox:
This browser does not support speech recognition botchat.js:20:29333
t
https://webchat.botframework.com/scripts/webchat-stable/botchat.js:20:29333
<anonymous>
https://myurl/speechtest/samples/speech/index.html:93:28
This browser does not support speech recognition CognitiveServices.js:15:32927
e
https://webchat.botframework.com/scripts/webchat-stable/CognitiveServices.js:15:32927
<anonymous>
https://myurl/speechtest/samples/speech/index.html:100:27

I do a test to enable speech recognition and synthesis in the Web Chat control via Bing Speech service, which can work in both Chrome and Firefox.
To troubleshoot the issue, you can try:
1) Upgrade your Firefox to the latest version, I'm using Version 62.0
2) Make sure you allow your site to use your microphone

The problem was with the js file i was using. As per thread below, I downloaded correct js file and it started working.
https://github.com/Microsoft/BotFramework-WebChat/issues/1141

Related

Supported browser in Botframework using Bing speech

I am using Bing for speech in botframework and when i deploy it the microphone is enabled only in Chrome and Edge, I read that its supported also in some other browser?
First, the error is triggered in this piece of the WebChat code (https://github.com/Microsoft/BotFramework-WebChat/blob/master/src/SpeechModule.ts#L117)
Then, I guess that there is a combination of things.
Based on this page, the browser compatibility is:
As you can read, it seems that recognition on Firefox Desktop is not yet available.
Also, this page shows speech (recognition and synthesis) support.
Then, not sure if the following will also apply to other browser, than Chrome, but maybe yes

Uploadifive mobile support? (Uploadify)

I'm using Uploadify on my website which uses flash and it doesn't work on Android Chrome, but does the paid HTML5 version work on mobile?
According to this post on their forums, a user (in March 2012) had Uploadifive working on their Galaxy Nexus. I'd say that most modern phones should run it if the Galaxy Nexus can do it.
Also, at the end of the day, it's only $5 for the standard license.
Uploadifive didnt work with my Chrome Browser on my Galaxy Note 4. I tried using Firefox browser and it worked. I uploaded the same files on different browsers. So, I guess the issue must be with Chrome on android.

Google chrome frame - how does it work?

I'm looking into chrome frame and I'm wondering how it works.... http://scriptsrc.net shows that it's a javascript that can be embedded on the page....
http://code.google.com/chrome/chromeframe/ shows it as an install file... does the JS prompt for an installation or something?
Google chrome frame is a plugin (think Adobe Flash) for Internet Explorer, that replaces core modules of IE (unlike Flash), like layout/rendering and javascript. But the UI remains. Then there is some javascript that can detect if this is real IE or IE+Chrome, and also offer an install option to the user. Also there is a HTTP-header and a meta-tag that are required to switch IE to chrome mode, when available.
The JavaScript is to detect it and enable it if it's there. (scriptsrc is just giving you the link to the file, which is on the Google CDN.) The end user does have to do a one-time install of it, it's a plug-in (like Flash or Java). Quoting from this page in the Google documentation:
In Internet Explorer, check() determines if Chrome Frame is installed. If not, the user is prompted to install it.

How to run the Google Gears extension on Firefox 4?

I am running Firefox 4 beta for testing, and unfortunately Google hasn't updated their Gears extension for Firefox 4. At this point, it even seems that Google might not update Gears for Firefox 4. Do you guys know of any trick to get Gears to run on Firefox 4?
(For reference, here is where you can download the OS X XPI for Gears.)
Google have explicitly deprecated Gears; they no longer support it (as of about a year ago!).
They have switched to focus on HTML5 and other related new browser features. In effect they're saying that all the functionality provided by Gears can be done using HTML5.
Here's a link to an article about them dropping it (but there's plenty of others if you google for it):
http://latimesblogs.latimes.com/technology/2009/11/google-gears.html
The down-side is that not all browsers do support all the HTML5 features that are needed to replicate the Gears functionality, so by deprecating it they've cut off support for some browsers. Chrome is fine, of course! But the other browsers are catching up - certainly Firefox 4 should be fine.
A lot of the functionality provided by google-gears is becoming part of html5 - firefox has implemented local storage since 3.5.
Modernizr provides api detection - but not abstraction - I imagine there may be some out there on the internet (Google Gears / HTML5 has only recently appeared on my radar). So far I've not found any way for an html5 app to create a desktop shortcut though.
Update:
See also:
http://www.phonegap.com/
https://github.com/zefhemel/persistencejs
http://code.google.com/p/webstorageportabilitylayer/

Getting embedded google docs viewer to work under IE 7,8

Wanted to throw this question out to see if there's been any solutions as the Google Doc viewer is amazing.
Creating an iframe with an embedded Google Docs viewer does not work in IE 7,8.
https://docs.google.com/viewer
Does anyone have a work around?
I have the same problem, but didn't think it was acceptable to have to ask users to add the URL to their trusted sites in IE.
Luckily I came across the following post:
The embedded version of Google Docs Viewer (gview) will not load its images correctly if third party cookies are disabled. This problem is an issue for most IE users as by default it will be disabled. Below I provide a work around to this problem for at least until google adds a p3p. The original discussion of the issue can be found at google docs help forum.
I've tried this out and it works in IE8, IE7 and IE6.
I just tried an iframe targeting https://docs.google.com/viewer in IE7 and it is working.
But I have ChromeFrame installed in IE - maybe that's the reason it is working for me!
I tested displaying PDFs in Google Viewer with IE8 with following settings.
You may see the solution at http://victoriarange.blogspot.com/2010/07/solution-for-display-problem-of-pdfs-in_24.html

Resources