Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

By default, Firefox uses the system's default audio device for HTML5 audio playback and the program offers no possibility to select an alternative audio device, if several audio devices are present on the system.

Any solution, which runs within Firefox is welcomed (AddOn, Extension, modified Firefox Source Code), with preference for an AddOn/Extension, if feasable.

I did not ask that for flash , since adobe flash is not controlled by firefox. Although it is of much interest for many users as well, and any idea to control flash plugin in FF to choose sound device is helping a lot. What about chrome? or any other browser out there can do this in HTML5 videos or flash?

By the way, does the new HTML5 web audio API providing the ability to select the audio device and solving this issue?

Any idea is highly welcomed, even if there is a hack in the FF about:config or windows registry.

Windows Xp sp3 (32 bit) , FF v.24

share|improve this question

I'm pretty sure this is impossible using the current Firefox/Chrone extension architecture. Selecting the audio device is the job of the operating system. Thus you would need to construct a plugin that would call into the OS to switch audio devices.

I'll be very very curious if anyone can do this. I don't know the APIs on Linux, but on Windows, switching Audio devices requires you to call into the Core Audio APIs. And keep in mind there is no API to switch the default audio device.

The idea alone sounds like a security vulnerability, but that's just my opinion.

share|improve this answer
Thanks for the answer. However I meant that making FF choosing to direct the output of an HTML5 audio into a sound device other than the default audio device without switching the default OS audio device. This is a common feature in media players like VLC, so why it is not in browsers? Did you see a browser that can choose its output audio device at least for the HTML5 audio and video (since I know that the flash is not controlled by the browser)? Even a very basic browser will help. – hayder Sep 22 '13 at 21:12
Core Audio? I thought that was an OS X thing. And Windows does have ways for a program to select specific audio devices, even though they're different in ≤XP and ≥Vista. – grawity Sep 22 '13 at 21:57
@hayder: Yes, the browser can control it's audio device output. But the browser has to do it. You can't switch the audio device from HTML5. – surfasb Sep 22 '13 at 22:01
@grawity: I think you can still use the same XP APIs in Vista. They didn't significantly change until Windows 7. – surfasb Sep 22 '13 at 22:03
@surfasb If the browser can control it's audio device output, it will be very helpful. I can run a browser for my headset through a sound device and other browser for let's say youtube on an attached TV through another sound device. This is a an eagerly needed feature by many. But still I cannot find any browser that can control it's audio device output as you said. Did you see any browser doing that? – hayder Sep 24 '13 at 1:34

A workaround is to use VLC extension, in VLC we have to check "web" in the main interface option (advanced option), next launch HTML5 video in VLC. (In VLC we can change the audio output)

share|improve this answer
Can you expand upon this answer? – bwDraco Jan 28 '15 at 18:38

This was meant to be a comment on noar's comment above, but I didn't have the reputation to use that feature at the time.

There's a VLC extension for Firefox nowadays that lets you open Youtube links in VLC, and then you can trivially change the sound output device from VLC's menus.

share|improve this answer

I have found a solution:

This is a new Firefox addon waiting to be reviewed. It is developed by a friend of mine:

I have been waiting for this for years.

I want to use this when my wife is watching youtube on her Chrome browser and I am watching something like coursera online MOOC lectures (FF) on the TV connected to the pc. I wanted to hear my classes on the headset, while sending youtube's output to the speakers.

I have 2 mice (mine is wireless) and have installed a neat program called teamplayer which gives multiple cursors (one per mouse).

So I have now literally the capability of letting two people work on 1 pc.

And on top of that it works seamlessly with "Enounce Myspeed" for speeding up the video lectures' playback.

share|improve this answer
The link above is broken. Do you know where the add-on can be downloaded? – Spire Jan 17 '14 at 6:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.