watson-developer-cloud / speech-to-text-nodejs

:microphone: Sample Node.js Application for the IBM Watson Speech to Text Service
https://speech-to-text-demo.ng.bluemix.net
Apache License 2.0
1.11k stars 706 forks source link

Problem playing Text To Speech audio in IE11 #172

Closed johmca closed 6 years ago

johmca commented 6 years ago

Hi,

I have this working OK in Chrome but IE11 is not working for me. Initially when using IE11 I was getting a prompt for logon credentials (not entirely sure what it was asking for? At some point I entered my T2S service credentials and I've not seen it since but that may be coincidence)

I logged the issue in Developer Works as https://developer.ibm.com/answers/questions/418315/speech-to-text-working-ok-in-chrome-but-not-ie11.html?childToView=418318#answer-418318

image

I was asked to raise the issue here.

Since logging the issue on DevWorks I tried a few things. I displayed controls on my audio element and it displays the message "Invalid Source" within the control which may be a clue.

The audio element HTML that is being used in the page has had its src attribute set programmatically and when I look at it in Chrome it appears as follows.

germanattanasio commented 6 years ago

@anweshan can you look at this?

johmca commented 6 years ago

Actually I did get it working in the end (updated in DevWorks but must have forgotten about here). It seems default format is OGG and this is not supported in IE11. Switched to MP3 and it was OK. for both Chrome and IE11 Don't now what the original problem was with the login request but it stopped requesting it.

germanattanasio commented 6 years ago

Great. I'm closing this then. Feel free to reopen.