Go Premium for a chance to win a PS4. Enter to Win

x
?
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
Medium Priority
?
198 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 2000 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
Containers like Docker and Rocket are getting more popular every day. In my conversations with customers, they consistently ask what containers are and how they can use them in their environment. If you’re as curious as most people, read on. . .
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Suggested Courses

824 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