Solved

how to do text to speech on a particular cell in a table returned by a php file

Posted on 2014-12-15
1
183 Views
Last Modified: 2014-12-30
I have a php file that runs a select query against a databse I would like to have the page read certain cells as in text to speech. attached is part of my php script. I have googlerd and found js that performs tts but I have no idea where or how to include in my php scriptsample-php.txtsample-php.txt
0
Comment
Question by:Dov_B
1 Comment
 
LVL 24

Accepted Solution

by:
mankowitz earned 500 total points
ID: 40501224
This is more than just a javascript question. The code you included to read text to speech won't work with google TTS any more. You have to build a proxy server in order to get it to work.  Basically, what you want to do is download a TTS plug-in like this one https://github.com/janantala/speech-synthesis and work off of that.

If you are sure that your users are using latest version of Chrome or Safari, you can use HTML5 speech synthesis
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question