Alex
Alex

Reputation: 1055

"Noisy Tabs" in Google Chrome- Detecting if sound is playing

Google Chrome recently introduced the feature that allows users to tell what tab is making that "Noisy sound". What i'm interested in finding out is if this new feature allows chrome extensions to detect if a tab is making a sound.

There is no documentation of any similar feature on the chrome.tabs developer page. Is there a way that you would be able to detect if a sound is playing (Without taking a "guess" based off of the content of the page i.e if the page contains mp3 or video content)

Upvotes: 5

Views: 1368

Answers (1)

Julien CROUZET
Julien CROUZET

Reputation: 764

necromancer here ...

It's now possible in Chrome 45 : https://developer.chrome.com/extensions/tabs

boolean (optional) audible
Since Chrome 45. Warning: this is the current Beta channel. Learn more.

Whether the tab has produced sound over the past couple of seconds

Upvotes: 2

Related Questions