Firefox on XO

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Firefox on XO

T Gillett
A little more on this...

I looked at some HTML5 audio and video tutorial sites as below, and found that the demonstrations on these sites *all work* just fine with sound in Firefox Ver 26 as installed from the repo ($ sudo yum update; sudo yum install -y firefox)

Demo Sites - working sound

    www.w3schools.com/html/html5_audio.asp 

    www.w3schools.com/html/html5_video.asp 

     butlerccwebdev.net/support/html5-video/audio-demo.html

Also the YouTube sites work OK with sound.


So obviously FF on XO is quite capable of delivering sound for a certain range of websites, but not for others.
Understanding the difference between working and non-working web sites may provide a clue as to what is going on.

Curiously, I found that the FF ver 50 version crashes when you try to load up the w3chools demo pages even before trying to start the audio.

Thanks in advance to anyone who has the time and inclination to contribute to this.


Regards
Terry





----------------------------------------------------------------------

Message: 1
Date: Thu, 5 Jan 2017 13:05:59 +1000
From: T Gillett <[hidden email]>
To: "Devel's in the Details" <[hidden email]>
Subject: Firefox on XO
Message-ID:
        <[hidden email]>
Content-Type: text/plain; charset="utf-8"

Hi James

Thanks for the response.

I installed Firefox on the 32020 build two different ways to test:

1. Using 'yum install' to get it from the repo. This installs Ver 26 as per
your email.
2. Using the download (firefox-50.1.0.tar.bz2) from the Firefox downloads
site which gives Ver 50.

The behaviour of both versions with respect to the sound appears to be the
same.

The browsers will play an mp3 file when it is simply linked within a web
site, (by default using the VLC plug-in according to the FF
Preferences/Application dialogue) but will not play an mp3 file within
simple HTML5 sites (eg our vt-motoli site)
The Reading Eggs site works well visually (it won't work properly in
Epiphany), but is absolutely silent. As far as I understand, this site is
using Flash.

It seems from some postings I read that FF expects to have Pulse Audio
support on Linux systems (and this is not included in the XO software).
So it is interesting that when you installed apulse, there is still an
issue.

Ref:
https://www.reddit.com/r/firefox/comments/451074/firefox_to_make_pulseaudio_a_hard_requirement_on/

regards
Terry



> Message: 1
> Date: Wed, 4 Jan 2017 10:39:02 +1100
> From: James Cameron <[hidden email]>
> To: [hidden email]
> Subject: Re: Firefox on XO
> Message-ID: <[hidden email]>
> Content-Type: text/plain; charset=iso-8859-1
>
> G'day Terry,
>
> You didn't mention which version of Firefox.
>
> With firefox-26.0-2 from the Fedora 18 repository your no-sound issue
> with those sites reproduces.
>
> Then I installed apulse, a PulseAudio emulation for ALSA, but the
> problem persisted.  Looking at /proc/$(pidof firefox)/smaps the
> libpulse libraries are not mapped.
>
> Which Firefox are you trying, and how are you trying it?
>
> References:
>
> https://github.com/i-rinat/apulse (source)
> https://github.com/vitvegl/apulse-rpm (for the spec file)
>
> dependencies: gcc-c++ gcc-sh-linux-gnu cmake alsa-lib-devel glib2-devel
> alsa-lib glib2
>
> On Sun, Jan 01, 2017 at 08:52:39AM +1000, T Gillett wrote:
> > Hi All
> >
> > I have installed Firefox on the current 13.2.8 build on XO-1.5 and it
> works OK
> > except that there is no sound on some websites.
> > Other sites work OK.
> >
> > This seems to be a known problem:
> >     [1]https://bugzilla.mozilla.org/show_bug.cgi?id=803042
> >     [2]http://forums.fedoraforum.org/showthread.php?t=277040
> >     [3]https://ask.fedoraproject.org/en/question/65978/fedora-21-fi
> > refox-3603-and-flash-no-sound-system-sound-fine/
> >     [4]http://unix.stackexchange.com/questions/144395/
> > firefox-html5-asoundrc-no-sound
> >
> > The issue seems to revolve around getting FF to use ALSA for sound, and
> without
> > installing PulseAudio.
> >
> > I am wondering if anyone using Firefox on XO has encountered and/or
> solved this
> > problem.
> >
> > Thanks in advance for any help on this.
> > Terry
> >
> > ------------------------
> >
> > Some sites for testing the audio. Open any of these in a new tab and you
> should
> > hear audio.
> >
> > 1.    [5]http://student.readingeggs.com//sample_lessons/#/sample/
> lesson/6/
> > activity/1
> > No sound on XO.
> >
> > 2.    [6]http://vt-motoli.org/CG/cg_03/cg_03.html#l-en
> > No sound on XO.
> >
> > 3.    [7]http://robbbenson.com/01%20Eve.mp3
> > Sound OK.
> >
> > References:
> >
> > [1] https://bugzilla.mozilla.org/show_bug.cgi?id=803042
> > [2] http://forums.fedoraforum.org/showthread.php?t=277040
> > [3] https://ask.fedoraproject.org/en/question/65978/fedora-21-
> firefox-3603-and-flash-no-sound-system-sound-fine/
> > [4] http://unix.stackexchange.com/questions/144395/firefox-
> html5-asoundrc-no-sound
> > [5] http://student.readingeggs.com//sample_lessons/#/sample/
> lesson/6/activity/2
> > [6] http://vt-motoli.org/CG/cg_03/cg_03.html#l-en
> > [7] http://robbbenson.com/01%20Eve.mp3
>
> > _______________________________________________
> > Devel mailing list
> > [hidden email]
> > http://lists.laptop.org/listinfo/devel
>
>
> --
> James Cameron
> http://quozl.netrek.org/
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Devel mailing list
> [hidden email]
> http://lists.laptop.org/listinfo/devel
>
>
> ------------------------------
>
> End of Devel Digest, Vol 127, Issue 2
> *************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/devel/attachments/20170105/03982529/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
Devel mailing list
[hidden email]
http://lists.laptop.org/listinfo/devel


------------------------------

End of Devel Digest, Vol 127, Issue 3
*************************************


_______________________________________________
Devel mailing list
[hidden email]
http://lists.laptop.org/listinfo/devel
Reply | Threaded
Open this post in threaded view
|

Re: Firefox on XO

Adam Holt-2
Thanks much Terry -

FireFox 50 will add its own eccentricities inevitably, but many deployments would prefer that over Epiphany and FF25/26 (if folks are miraculously able to get FF50 to a semi-stable state of known workarounds?)


On Fri, Jan 6, 2017 at 11:12 PM, T Gillett <[hidden email]> wrote:
A little more on this...

I looked at some HTML5 audio and video tutorial sites as below, and found that the demonstrations on these sites *all work* just fine with sound in Firefox Ver 26 as installed from the repo ($ sudo yum update; sudo yum install -y firefox)

Demo Sites - working sound

    www.w3schools.com/html/html5_audio.asp 

    www.w3schools.com/html/html5_video.asp 

     butlerccwebdev.net/support/html5-video/audio-demo.html

Also the YouTube sites work OK with sound.


So obviously FF on XO is quite capable of delivering sound for a certain range of websites, but not for others.
Understanding the difference between working and non-working web sites may provide a clue as to what is going on.

Curiously, I found that the FF ver 50 version crashes when you try to load up the w3chools demo pages even before trying to start the audio.

Thanks in advance to anyone who has the time and inclination to contribute to this.


Regards
Terry





----------------------------------------------------------------------

Message: 1
Date: Thu, 5 Jan 2017 13:05:59 +1000
From: T Gillett <[hidden email]>
To: "Devel's in the Details" <[hidden email]>
Subject: Firefox on XO
Message-ID:
        <[hidden email]>
Content-Type: text/plain; charset="utf-8"

Hi James

Thanks for the response.

I installed Firefox on the 32020 build two different ways to test:

1. Using 'yum install' to get it from the repo. This installs Ver 26 as per
your email.
2. Using the download (firefox-50.1.0.tar.bz2) from the Firefox downloads
site which gives Ver 50.

The behaviour of both versions with respect to the sound appears to be the
same.

The browsers will play an mp3 file when it is simply linked within a web
site, (by default using the VLC plug-in according to the FF
Preferences/Application dialogue) but will not play an mp3 file within
simple HTML5 sites (eg our vt-motoli site)
The Reading Eggs site works well visually (it won't work properly in
Epiphany), but is absolutely silent. As far as I understand, this site is
using Flash.

It seems from some postings I read that FF expects to have Pulse Audio
support on Linux systems (and this is not included in the XO software).
So it is interesting that when you installed apulse, there is still an
issue.

Ref:
https://www.reddit.com/r/firefox/comments/451074/firefox_to_make_pulseaudio_a_hard_requirement_on/

regards
Terry



> Message: 1
> Date: Wed, 4 Jan 2017 10:39:02 +1100
> From: James Cameron <[hidden email]>
> To: [hidden email]
> Subject: Re: Firefox on XO
> Message-ID: <[hidden email]>
> Content-Type: text/plain; charset=iso-8859-1
>
> G'day Terry,
>
> You didn't mention which version of Firefox.
>
> With firefox-26.0-2 from the Fedora 18 repository your no-sound issue
> with those sites reproduces.
>
> Then I installed apulse, a PulseAudio emulation for ALSA, but the
> problem persisted.  Looking at /proc/$(pidof firefox)/smaps the
> libpulse libraries are not mapped.
>
> Which Firefox are you trying, and how are you trying it?
>
> References:
>
> https://github.com/i-rinat/apulse (source)
> https://github.com/vitvegl/apulse-rpm (for the spec file)
>
> dependencies: gcc-c++ gcc-sh-linux-gnu cmake alsa-lib-devel glib2-devel
> alsa-lib glib2
>
> On Sun, Jan 01, 2017 at 08:52:39AM +1000, T Gillett wrote:
> > Hi All
> >
> > I have installed Firefox on the current 13.2.8 build on XO-1.5 and it
> works OK
> > except that there is no sound on some websites.
> > Other sites work OK.
> >
> > This seems to be a known problem:
> >     [1]https://bugzilla.mozilla.org/show_bug.cgi?id=803042
> >     [2]http://forums.fedoraforum.org/showthread.php?t=277040
> >     [3]https://ask.fedoraproject.org/en/question/65978/fedora-21-fi
> > refox-3603-and-flash-no-sound-system-sound-fine/
> >     [4]http://unix.stackexchange.com/questions/144395/
> > firefox-html5-asoundrc-no-sound
> >
> > The issue seems to revolve around getting FF to use ALSA for sound, and
> without
> > installing PulseAudio.
> >
> > I am wondering if anyone using Firefox on XO has encountered and/or
> solved this
> > problem.
> >
> > Thanks in advance for any help on this.
> > Terry
> >
> > ------------------------
> >
> > Some sites for testing the audio. Open any of these in a new tab and you
> should
> > hear audio.
> >
> > 1.    [5]http://student.readingeggs.com//sample_lessons/#/sample/
> lesson/6/
> > activity/1
> > No sound on XO.
> >
> > 2.    [6]http://vt-motoli.org/CG/cg_03/cg_03.html#l-en
> > No sound on XO.
> >
> > 3.    [7]http://robbbenson.com/01%20Eve.mp3
> > Sound OK.
> >
> > References:
> >
> > [1] https://bugzilla.mozilla.org/show_bug.cgi?id=803042
> > [2] http://forums.fedoraforum.org/showthread.php?t=277040
> > [3] https://ask.fedoraproject.org/en/question/65978/fedora-21-
> firefox-3603-and-flash-no-sound-system-sound-fine/
> > [4] http://unix.stackexchange.com/questions/144395/firefox-
> html5-asoundrc-no-sound
> > [5] http://student.readingeggs.com//sample_lessons/#/sample/
> lesson/6/activity/2
> > [6] http://vt-motoli.org/CG/cg_03/cg_03.html#l-en
> > [7] http://robbbenson.com/01%20Eve.mp3
>
> > _______________________________________________
> > Devel mailing list
> > [hidden email]
> > http://lists.laptop.org/listinfo/devel
>
>
> --
> James Cameron
> http://quozl.netrek.org/
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Devel mailing list
> [hidden email]
> http://lists.laptop.org/listinfo/devel
>
>
> ------------------------------
>
> End of Devel Digest, Vol 127, Issue 2
> *************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/devel/attachments/20170105/03982529/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
Devel mailing list
[hidden email]
http://lists.laptop.org/listinfo/devel


------------------------------

End of Devel Digest, Vol 127, Issue 3
*************************************


_______________________________________________
Devel mailing list
[hidden email]
http://lists.laptop.org/listinfo/devel

--

_______________________________________________
Devel mailing list
[hidden email]
http://lists.laptop.org/listinfo/devel
Reply | Threaded
Open this post in threaded view
|

Re: Firefox on XO

James Cameron-2
In reply to this post by T Gillett
Firefox-26 from Fedora 18 using yum was built by the Fedora project,
but Firefox-50 downloaded from Mozilla was built by the Mozilla
project.

Firefox-26 from Fedora 18 has different build configuration settings
to Firefox-50 from Fedora latest.  You might compare those settings by
looking at the RPM spec file.

You can find the Fedora packaging files for Firefox here;

https://src.fedoraproject.org/cgit/rpms/firefox.git/tree/ (the current
master branch),

https://src.fedoraproject.org/cgit/rpms/firefox.git/tree/?h=f18 (the
last Fedora 18 build),

Firefox might be rebuilt with these configuration settings changed;
see rpmbuild.

But I don't think you'll be likely to find a recent build of Firefox
suited for Fedora 18.  Everyone else will have upgraded by now.

--
James Cameron
http://quozl.netrek.org/
_______________________________________________
Devel mailing list
[hidden email]
http://lists.laptop.org/listinfo/devel