I have no sound when trying to play HTML5 videos, e.g. from Youtube, in Firefox. I'm using Slackware 14.1 and Firefox 30, built with ruario's latest-firefox script, but this happens with the lts Firefox as well. I'm running on an Acer C720 Chromebook. It uses a Haswell sound card. Here's the output of lspci |grep Audio:
Code:
lspci |grep Audio
00:03.0 Audio device: Intel Corporation Device 0a0c (rev 09)
00:1b.0 Audio device: Intel Corporation Lynx Point-LP HD Audio Controller (rev 04)
I have the following .asoundrc that gets my audio to play everywhere else:
Code:
pcm.!default {
type hw
card 1
device 0
}
ctl.!default {
type hw
card 1
}
Audio works in VLC and mplayer, but not in Firefox or Seamonkey. Audio works in them with Flash instead of HTML5, but I'd rather use HTML5. It also works with HTML5 video in Chromium. I noticed that Firefox 30 uses less CPU for me than Chromium though, so I'm trying to move back to Firefox.
Running from a terminal doesn't give me any errors. I have the same gstreamer plugins (the ones that come with Slackware, plus the ffmpeg plugin) installed on here that I have on my other computers with different sound devices, and they play fine, so I'm guessing that HTML5 in the Mozilla browsers isn't respecting my .asoundrc for some reason. I experience this in both XFCE and KDE, though I can't think of why that would matter anyway. Oh, and I plugged it into my TV and audio doesn't play over HDMI either, but I don't care about that.
I feel like I'm leaving something out, but I can't think of what it is. Thanks for any help.