Here's how to get it working:
vocalizer.min.jsinto your website. Or just include it via CDN: .
spantag like this:
data-sourceattribute has two parameter options: -
auto: The audio will automatically be generated. Note: If this doesn't work, it might mean your name doesn't exist in the database. Go here and search the name to double-check. If it isn't there you'll have to use your own audio file. -
path/to/file: Manually set the path to your own audio file. For example:
data-langattribute let you select the language used for the pronunciation, by entering the full language name.
Preset audio recordings are provided by the Nameshouts API.
A lot of improvements can be made to this project. If you would like to help make Vocalizer better, I've labeled improvements as "up-for-grabs" in the issues section. Feel free to submit pull requests :)
If so, please file an issue. ``