I'm trying to achieve the following task on my tabbed browser application :
When a page plays a sound (usually due to a notification), i will highlight the tab with the browser that played the sound, so the user can access it faster.
Is there any event i could use to catch when the sound is played ?
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
Any event triggered when sound is played ?
-
- Posts: 461
- Joined: Thu Aug 10, 2017 12:40 pm
- salvadordf
- Posts: 4084
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Any event triggered when sound is played ?
Hi,
CEF hasn't changed the audio handler recently and this is still true :
https://www.briskbard.com/forum/viewtopic.php?t=2030
Perhaps you can intercept some JavaScript function that plays that sound :
https://stackoverflow.com/questions/3406467/can-i-intercept-a-function-called-directly
CEF hasn't changed the audio handler recently and this is still true :
https://www.briskbard.com/forum/viewtopic.php?t=2030
Perhaps you can intercept some JavaScript function that plays that sound :
https://stackoverflow.com/questions/3406467/can-i-intercept-a-function-called-directly
-
- Posts: 461
- Joined: Thu Aug 10, 2017 12:40 pm
Re: Any event triggered when sound is played ?
Thank you , will try via JS.