How to hide play audio interface in Safari from javascript on Apple Macbook Pro with keyboard Touch Bar

Viewed 315

We have an app that frequently plays short audio snippets. With the newest Apple Macbook Pro with the Touch Bar, every time one of those short audio snippets play the touch bar switches to an audio interface - and switches back and forth from the web interface pretty rapidly. This is likely not desirable for application users.

Is there a way at the javascript level to disable this behavior in Safari browser for an instance of Audio()?

0 Answers
Related