Firefox 57 (32-bit) no sound playing YouTube video
OK, yours may have a different name.There is no system directory named qbh6evhg.default
/root/.mozilla/firefox
Look for a directory that ends in .default
Put the user.js file in that directory.
The user.js will probably need to be this one.
Code: Select all
// for using apulse with latest firefox
user_pref("security.sandbox.content.write_path_whitelist", "/dev/snd/");
user_pref("security.sandbox.content.syscall_whitelist", "/dev/snd/");
user_pref("security.sandbox.content.read_path_whitelist", "/dev/snd/");
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
Okay, I reinstalled Tahr 6.0.5, as well as Firefox 57. Everything is working fine except audio. I tried both codes for user.js, and the result is still negative. No audio.
Tahr 605 has default browser Pale Moon 25.8.1 (x86), which refuses to enable Adblock Plus because PM uses ads for revenue. Why would a Puppy dev use a browser with this policy? YouTube says this version of Pale Moon is obsolete. I can't upgrade Pale Moon because xvkbd won't work in PM 27. Great.
There's no recent Seamonkey in the updated repo.
Nothing like an mp3 player that keeps playing after the applet is closed.
What happened, has there been a falling out between Mozilla and Adblock Plus?
EDIT: I just customized Pale Moon to my liking, but there weren't a lot of choices.
I predict Mozilla Firefox will lose even more market share due to this unsupported switch to pulseaudio.
Tahr 605 has default browser Pale Moon 25.8.1 (x86), which refuses to enable Adblock Plus because PM uses ads for revenue. Why would a Puppy dev use a browser with this policy? YouTube says this version of Pale Moon is obsolete. I can't upgrade Pale Moon because xvkbd won't work in PM 27. Great.
There's no recent Seamonkey in the updated repo.
Nothing like an mp3 player that keeps playing after the applet is closed.
What happened, has there been a falling out between Mozilla and Adblock Plus?
EDIT: I just customized Pale Moon to my liking, but there weren't a lot of choices.
I predict Mozilla Firefox will lose even more market share due to this unsupported switch to pulseaudio.
Last edited by nubc on Wed 22 Nov 2017, 22:00, edited 7 times in total.
I've customized Tahr 605 pretty much to my liking, and I could use it as my working OS, except that Firefox doesn't play YT audio. Apparently, the reason Firefox won't play YT audio is because the new audio format is pulse audio. The solution is to get FF to use apulse, which is what, an abbreviated alternative to pulse audio? Is pulse audio exclusively 64 bit, is that the problem? Because in a previous installation I installed pulseaudio from repo, and this had no effect on the lack of audio. The code in user.js redirects audio through apulse. I have the 4-line code entered, but still no audio. I didn't do something that others have done, what can that be? If I can get audio working in YouTube, I can start using Tahr 605.
- OscarTalks
- Posts: 2196
- Joined: Mon 06 Feb 2012, 00:58
- Location: London, England
Do you want to use Firefox 56 or the new 57?
I was experimenting with 57 in Wheezy a few days ago and I could get YouTube sound working using apulse. I put the apulse libs inside the firefox directory and made sure to give that directory priority. The audio problem with apulse happens because of the recently introduced high-level of sandboxing. This also causes a pango error. If the user.js whitelist settings posted above don't work, you can change security.sandbox.content.level to 0 in about:config (you will probably find that the default is set to 3).
With Tahr 6.0.5 you will obviously also need libgtk-3 from PPM which I presume you have already done. I could probably upload a package of Firefox 57 which will work in 32bit Tahr but actually if you follow the few steps correctly as I outlined it should work.
I was experimenting with 57 in Wheezy a few days ago and I could get YouTube sound working using apulse. I put the apulse libs inside the firefox directory and made sure to give that directory priority. The audio problem with apulse happens because of the recently introduced high-level of sandboxing. This also causes a pango error. If the user.js whitelist settings posted above don't work, you can change security.sandbox.content.level to 0 in about:config (you will probably find that the default is set to 3).
With Tahr 6.0.5 you will obviously also need libgtk-3 from PPM which I presume you have already done. I could probably upload a package of Firefox 57 which will work in 32bit Tahr but actually if you follow the few steps correctly as I outlined it should work.
Oscar in England
I'm running FF 57 from repo with PPM. Well, I hadn't installed libgtk-3, but when I tried to install it with PPM, it says libgtk-3 is already installed. Only thing remaining to do is change sandbox security setting.
EDIT: Success!!! Changing the sandbox security level to 0 did the trick. Now have YT audio. Thanks
EDIT: Success!!! Changing the sandbox security level to 0 did the trick. Now have YT audio. Thanks
Last edited by nubc on Wed 22 Nov 2017, 23:49, edited 2 times in total.
- OscarTalks
- Posts: 2196
- Joined: Mon 06 Feb 2012, 00:58
- Location: London, England
Well I am not sure exactly what that is if it is FF57 from PPM
The apulse is pulseaudio emulation for alsa.
It "pretends to be" pulse but feeds the audio into our normal alsa.
Better to use this rather than pulseaudio itself, but you need to relax the sandboxing as I mentioned above. Try installing my apulse package or better still extract the apulse libs into the firefox directory so they will not interfere with any other programs.
The apulse is pulseaudio emulation for alsa.
It "pretends to be" pulse but feeds the audio into our normal alsa.
Better to use this rather than pulseaudio itself, but you need to relax the sandboxing as I mentioned above. Try installing my apulse package or better still extract the apulse libs into the firefox directory so they will not interfere with any other programs.
Oscar in England
Success!!! Changing the sandbox security level to 0 did the trick. Now have YT audio. Thanks
EDIT: I guess this is not completely solved because there is a class of HTML5 video that won't play, even after I install an HTML5 player. This one, for instance
https://www.youtube.com/watch?v=U6ABlTo-EHo
EDIT: I guess this is not completely solved because there is a class of HTML5 video that won't play, even after I install an HTML5 player. This one, for instance
https://www.youtube.com/watch?v=U6ABlTo-EHo
- OscarTalks
- Posts: 2196
- Joined: Mon 06 Feb 2012, 00:58
- Location: London, England
Firefox already has an HTML5 player included so installing another one should not be necessary and might in fact stop things from working.nubc wrote:EDIT: I guess this is not completely solved because there is a class of HTML5 video that won't play, even after I install an HTML5 player. This one, for instance
https://www.youtube.com/watch?v=U6ABlTo-EHo
Tested that youtube video in FF57 in Tahr 6.0.5 and it played OK for me.
Oscar in England
- OscarTalks
- Posts: 2196
- Joined: Mon 06 Feb 2012, 00:58
- Location: London, England
Playing YouTube videos does not require any plugins
Furthermore, this latest FF57 introduces a new engine which breaks a lot of the Extensions / AddOns which people have been using. Best to remove them all and use only the ones that are offered as compatible with FF57.
All I did, in response to your post and in order to test things, was to boot a fresh TahrPup 6.0.5 frugal, install libgtk-3 from PPM, install FF57 (official build from mozilla) with the sound fix as already discussed (add apulse libs and relax the sandboxing).
Furthermore, this latest FF57 introduces a new engine which breaks a lot of the Extensions / AddOns which people have been using. Best to remove them all and use only the ones that are offered as compatible with FF57.
All I did, in response to your post and in order to test things, was to boot a fresh TahrPup 6.0.5 frugal, install libgtk-3 from PPM, install FF57 (official build from mozilla) with the sound fix as already discussed (add apulse libs and relax the sandboxing).
Oscar in England
- OscarTalks
- Posts: 2196
- Joined: Mon 06 Feb 2012, 00:58
- Location: London, England
Isn't that the issue you posted about in a different thread?
If so I already posted a reply about that.
http://murga-linux.com/puppy/viewtopic.php?t=112163
I can post a package a little later if need be, but my concern is that if your problems are caused by other packages or extensions that you have installed then my package may not be different from the one you have. If you still have other problems besides the dark tooltips I suggest you try removing old or unneeded extensions first.
If so I already posted a reply about that.
http://murga-linux.com/puppy/viewtopic.php?t=112163
I can post a package a little later if need be, but my concern is that if your problems are caused by other packages or extensions that you have installed then my package may not be different from the one you have. If you still have other problems besides the dark tooltips I suggest you try removing old or unneeded extensions first.
Oscar in England
Another YT video refused to play:
https://www.youtube.com/watch?v=ayiyA7y3YpQ
The error message indicates my browser (FF 57) has a problem with:
1- H.264
2- MSE & H.264
I believe MSE stands for Media Source Extensions.
EDIT: I rebooted Tahr 605 (3-fingered reboot b/c dvdrom locked), and the error condition cleared, so the video now plays. Reminds me of Windows 95.
https://www.youtube.com/watch?v=ayiyA7y3YpQ
The error message indicates my browser (FF 57) has a problem with:
1- H.264
2- MSE & H.264
I believe MSE stands for Media Source Extensions.
EDIT: I rebooted Tahr 605 (3-fingered reboot b/c dvdrom locked), and the error condition cleared, so the video now plays. Reminds me of Windows 95.
HTML5 playback continues to be problematic with FF 57 in Tahr 605, with error messages posted on the player. This is especially troubling because I can no longer access YouTube with Slacko 5.7 because a popup invitation to switch to the new layout from YTdevs freezes FF 45.0, every time. All in all, very frustrating.
That tells me you have a CD/DVD drive that is sometimes not reading the disk OK, thus not loading the OPS correctly.EDIT: I rebooted Tahr 605 (3-fingered reboot b/c dvdrom locked), and the error condition cleared, so the video now plays.
Firefox is now just a big piece of crap!
I use Palemoon and the developers of it, seem to want to make it just work.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)