Microsoft Text to speech should stop when clicked on another page

asked 2021-11-05T05:51:35.597+00:00
Varsha M 6 Reputation points

Hi Good Morning-

                I am using text to speech azure cognitive services for text to speech  and when the audio is playing on a page if user clicks on other page audio should stop  in JavaScript 

Can you please explain how can I achieve this

Thanks in Advance

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
430 questions
1 vote