Bug 148378 - Web Speech API: speechSynthesis only plays once
Summary: Web Speech API: speechSynthesis only plays once
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: Other
Hardware: iPhone / iPad iOS 8.4
: P2 Major
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-08-24 06:49 PDT by bhorbal
Modified: 2015-08-25 08:02 PDT (History)
3 users (show)

See Also:


Attachments
SpeechSynthesis Test (1.53 KB, text/html)
2015-08-25 08:02 PDT, bhorbal
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description bhorbal 2015-08-24 06:49:45 PDT
I am using the Web Speech API speechSynthesis on Safari Mobile. I can get the utterance to play once, but when I click the button to play again, it won't. When I refresh the page and click the play button again, it still won't play. The only way I can get it to play again is if I manually shut down Mobile Safari, clear the cache, and then restart the browser and navigate to the page.
Comment 1 Radar WebKit Bug Importer 2015-08-24 06:53:05 PDT
<rdar://problem/22400361>
Comment 2 Radar WebKit Bug Importer 2015-08-24 06:54:13 PDT
<rdar://problem/22400370>
Comment 3 chris fleizach 2015-08-24 11:20:26 PDT
Please attach your code. when i test on 

http://codesamplez.com/programming/html5-web-speech-api

for example, it seems to work
Comment 4 bhorbal 2015-08-25 08:02:18 PDT
Created attachment 259845 [details]
SpeechSynthesis Test

PLEASE NOTE:

I am using Modernizr to test whether it is Mobile Safari or not. That part is working perfectly. The only part that isn't working is what I commented on above.