JQuery中的文本到语音 [英] Text to Speech in JQuery

查看:78
本文介绍了JQuery中的文本到语音的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友们,



我创建了一个网站,

我也希望在网站上制作一些内容来玩用户点击某个按钮时的语音。

我在谷歌搜索过,我得到了speak.js文件。

但它无法正常工作。



任何人都可以指导我。

Dear Friends,

I have created a website,
which I also want to make few contents in the website to play as speech when user click on some button.
I have searched in google, I got speak.js file.
But it is not working.

Can any one guide me on this.

推荐答案

你可以使用 jTalk 插件。



You can use jTalk plugin for that.

<script type="text/javascript">


(document).ready(function(){
(document).ready(function() {


('#myelement')。jTalk();
});
< / script >
< a href = id = myelement > 这将是< / a >
('#myelement').jTalk(); }); </script> <a href="#" id="myelement">This will be spoken</a>





了解更多信息: 语音启用您的网站



更新



您可以使用以下链接下载整个网站,下载后点击索引页面浏览网页网站o ffline。如果您有任何问题,请告诉我。



jTalk



我希望这会对你有所帮助。



For more info : Speech-enable your website

UPDATE

You can download the whole web site using below link and after the download click 'index' page for browse the web site offline. Plz let me know if you have any issues.

jTalk

I hope this will help to you.


这篇关于JQuery中的文本到语音的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆