title: SpeechSynthesis.speak (in Web Speech API) always stops after a few seconds in Google Chrome
body: <p>When using the <code>speak</code> function in the Web Speech API, in Chrome the speaking stops abruptly after a few seconds, in the middle of the text given to it, in a seemingly random place (without reaching the end).
  This only happens in Chrome (works well on Firefox), tested on two different computers/systems.</p>
  
  <p>Have a look at this jsfiddle to see/listen:
  <a href="https://jsfiddle.net/fv9ochpq/" rel="noreferrer">https://jsfiddle.net/fv9ochpq/</a></p>
  
  <p>You can see that the <code>SpeechSynthesis</code> object <code>.speaking</code> flag stays on(true) after it stops speaking.</p>
  
  <p>I haven't seen any documented limit to the text passed to the utterance.
  Is this a Google Chrome bug?
  BTW, I've known about this since 2014 - when I was trying to add a speech feature to a browser extension I made (back then it was the TTS API available to chrome extensions - same thing happened there as well), but eventually didn't do it because of this apparent bug.
  Now I want to overcome this - if this is a bug, I will appreciate anyone directing me to the best place to report it.</p>
  
  <p><strong>EDIT</strong>: It seem to stop after about 15 seconds. Adding an interval every 14 seconds running <code>.resume()</code> seem to "fix" this. See: <a href="https://jsfiddle.net/fv9ochpq/1/" rel="noreferrer">https://jsfiddle.net/fv9ochpq/1/</a> <br>
  But this is a hack.</p>
  
  <p><strong>AUGUST 2019 UPDATE</strong> Since December 2018 - Chrome does not allow triggering speech without user interaction, this is an updated jsfiddle, with an added button, and the actual <code>speak</code> call moved to its <code>onclick</code>:
  <a href="https://jsfiddle.net/vcmxkwd3/" rel="noreferrer">https://jsfiddle.net/vcmxkwd3/</a></p>
  
  <p><strong>THE BUG IS STILL HAPPENING!</strong> :</p>