-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implementation of annyang #435
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sir, I'm trying to work on a voice based mail for blind using Annyang JS but I'm failing to implement it, so kindly help me to resolve it!!!
<script src="https://cdnjs.cloudflare.com/ajax/libs/annyang/2.6.0/annyang.min.js"></script> <script> if (annyang) { const commands = { 'play music': ()=>{document.getElementById("mymusic").play();}, 'pause music': ()=>{document.getElementById("mymusic").pause();}, 'goto home':()=>{location.href='registration.html';}, 'goto about':()=>{location.href='about.html';}, 'goto login':()=>{location.href='login.html';}, 'goto registration' :()=>{location.href='new user.html';} }; annyang.addCommands(commands); annyang.start(); } </script>The text was updated successfully, but these errors were encountered: