1.0.2 • Published 7 years ago

k-speech v1.0.2

Weekly downloads
1
License
MIT License
Repository
github
Last release
7 years ago

bower version open issues npm Published on webcomponents.org

\<k-speech>

a simple component "text to speech".

<k-speech auto-play 
    text    = "Hello, my name is kang, I am a newbie."
    volume  = "1"
    rate    = "1"
    pitch   = "1"></k-speech>
    <p>Hello, my name is kang, I am a newbie.</p>

How to install

bower

bower install --save k-speech

npm

npm install k-speech

Properties

AttributeDescriptionDefault Value
textfor set textThis is a simple component text to speech
langfor set languageenglish
volumefor set volume1
ratefor set rate1
pitchfor set pitch1
auto-playfor set auto playfalse
debug-voice-supportto know the language support in browser. When it is set to "true", you can see the results in the inspect element->console.false

Support

Desktop

FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support33(Yes)49 (49)No support?7

Mobile

FeatureAndroidChromeEdgeFirefox Mobile (Gecko)Firefox OSIE PhoneOpera MobileSafari Mobile
Basic support(Yes)(Yes)(Yes)No support2.0No supportNo support7.1

Change log

You can find a list of all changes for each release in the change log.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT License