Call WKPageUIClient::isPlayingAudioDidChange() whenever audio starts/stops playing on a page.
Will this include plug-in audio?
Yes it will include plug-in audio. I'll most likely separate that into a different bug later though.
(In reply to comment #2) > Yes it will include plug-in audio. I'll most likely separate that into a different bug later though. I've filed: https://bugs.webkit.org/show_bug.cgi?id=137219 for handling plug-in audio. https://bugs.webkit.org/show_bug.cgi?id=137464 for handling web audio.
Created attachment 239358 [details] Patch
Committed: https://trac.webkit.org/changeset/174384