This example shows how to have a message spoken automatically when the web page loads.
This is example code to add just before the closing body tag.
1 2 3 |
<script> setTimeout(responsiveVoice.speak("Welcome to the Responsive Voice website"),1500); </script> |
Keywords: onload, ready, setTimeout, speak onload, webpage spoken introduction, TTS welcome message