jSpeaker Plugin for jQuery JavaScript Library
This plugin will speak the text thats in the selected object. It uses the google translate speak/listen function. Keep in mind that this is based on a little hack, so when google changes something, this plugin may break or explode. I'm not responsable to any harm that this plugin may cause.
Check this link for a working example.
jSpeaker plugin v1.0.1 and samples - jSpeaker.zip
jPlayer plugin: http://www.jplayer.org (> v2.0.0)
swfPath: Path to jPlayer plugin
lang: Language to speak. (eg.: nl, en, de, es...)
line: Speak only this line (eg.: 0 speaks only the first line)
About:
Witten by Daantje Eeltink, Dual licensed under the MIT and GPL licenses.
Sample:
Check this link for a working example.
Download:
jSpeaker plugin v1.0.1 and samples - jSpeaker.zip
Dependancies:
jPlayer plugin: http://www.jplayer.org (> v2.0.0)
Options:
swfPath: Path to jPlayer pluginlang: Language to speak. (eg.: nl, en, de, es...)
line: Speak only this line (eg.: 0 speaks only the first line)
Examples:
$('#someSelector').jSpeaker(); //when jPlayer path is correct in jSpeaker plugin. Else set swfPath!
$('#someSelector').jSpeaker({line:1});
$('#someSelector').jSpeaker({swfPath:'/path/to/jPlayer/plugin',lang:'en'});

