javascript 使用 jquery API HTML 进行文本到语音转换
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5680058/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Text-To-Speech with jquery API HTML
提问by dwbrito
Is it possible to build a website that has the capability of reading a textbox text on a user longClick and that works on different kinds of browsers?
是否有可能构建一个能够读取用户 longClick 上的文本框文本并且适用于不同类型浏览器的网站?
The website should also work in mobile devices..
该网站也应该在移动设备上工作。
Thanks!
谢谢!
采纳答案by Farzin Zaker
You could try jTalk:
你可以试试 jTalk:
It creates mp3 files to play in client. So no problem should be found in even mobile devices.
它创建 mp3 文件以在客户端播放。因此,即使在移动设备中也不会发现任何问题。
Also there is a thread which described other ways to fix this problem:
还有一个线程描述了解决此问题的其他方法: