Skip to content

Commit

Permalink
docs(readme): mention Polyfill suffixes [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
janantala committed Jan 29, 2014
1 parent de288ec commit 9b1bd39
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# speech-synthesis v0.1.0 [![Build Status](https://travis-ci.org/janantala/speech-synthesis.png?branch=master)](https://travis-ci.org/janantala/speech-synthesis)
# speech-synthesis v0.1.1 [![Build Status](https://travis-ci.org/janantala/speech-synthesis.png?branch=master)](https://travis-ci.org/janantala/speech-synthesis)

Speech Synthesis polyfill based on Google Translate service. Polyfill downloads audio from Google Translate server using [CORS](http://caniuse.com/#feat=cors) and plays it using [audio](http://caniuse.com/#feat=audio) element.

Expand Down Expand Up @@ -44,6 +44,8 @@ u.onend = function(event) { console.log('Finished in ' + event.elapsedTime + ' s
speechSynthesis.speak(u);
```

*Note: in Firefox you have to use `SpeechSynthesisUtterancePolyfill` and `speechSynthesisPolyfill`*

### CORS proxy server
CORS proxy server is required to download audio from google translate service into your web application. Default value is set to `http://www.corsproxy.com/` but we would recommend you to use your own server. To set up your own change `corsProxyServer` attribute in `SpeechSynthesisUtterance` instance.

Expand Down

0 comments on commit 9b1bd39

Please sign in to comment.