Jump to content

This is an HTML5 - thread (About Developmental and Experimental Markup Languages)


alhanson

Recommended Posts

This isn't how the forums work. Ask a specific question about something you don't understand or that isn't working for you and other forum members can answer your questions.

Link to comment
Share on other sites

Speech Synthesiser

 

on the js page...

 

function playIt00()

{

var u = new SpeechSynthesisUtterance('Hello World');

speechSynthesis.speak(u);

}

 

<!DOCTYPE html>

 

<script language="javascript" src="js/text025.js"></script>

 

<text type="input" id="forEmbed" onclick="playIt00()">Hello World!</text>

 

</html>

 

Question; On the nexus 7 or iPad is the Speech Synthesiser Client side? Thus i am only moving the code (text)? Not the Synthesiser each time.

Link to comment
Share on other sites

  • 1 year later...
The javascript in the above code i posted a year ago runs client side. The Synthesiser is in the browser. Thus, the words come over the internet in html page as text. And, the book can be used off line.
The following is an example....
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...