Jump to content

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


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 post
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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...