<div dir="ltr"><div><div>A little more on this...<br><br></div>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)<br><br><div>Demo Sites - working sound<br></div><br>    <a href="http://www.w3schools.com/html/html5_audio.asp" target="_blank">www.w3schools.com/html/html5_<wbr>audio.asp</a>  <br><br>    <a href="http://www.w3schools.com/html/html5_video.asp" target="_blank">www.w3schools.com/html/html5_<wbr>video.asp</a>  <br><br>     <a href="http://butlerccwebdev.net/support/html5-video/audio-demo.html" target="_blank">butlerccwebdev.net/support/<wbr>html5-video/audio-demo.html</a><br><br></div><div>     <a href="http://www.html5rocks.com/en/tutorials/webaudio/intro">www.html5rocks.com/en/tutorials/webaudio/intro</a><br><br></div><div>Also the YouTube sites work OK with sound.<br><br></div><div><br></div><div>So obviously FF on XO is quite capable of delivering sound for a certain range of websites, but not for others.<br></div><div>Understanding the difference between working and non-working web sites may provide a clue as to what is going on.<br><br></div><div>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.<br></div><div><br></div><div>Thanks in advance to anyone who has the time and inclination to contribute to this.<br><br><br></div><div>Regards<br></div><div>Terry<br></div><div><br><br><br><div><div class="gmail_extra"><br><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Thu, 5 Jan 2017 13:05:59 +1000<br>
From: T Gillett <<a href="mailto:tgillett@gmail.com">tgillett@gmail.com</a>><br>
To: "Devel's in the Details" <<a href="mailto:devel@lists.laptop.org">devel@lists.laptop.org</a>><br>
Subject: Firefox on XO<br>
Message-ID:<br>
        <<a href="mailto:CAD58EkxxzZ_6UWZB0zgam2wLbC0ms-f0gMbm_34O%2BG3mqBZKDQ@mail.gmail.com">CAD58EkxxzZ_<wbr>6UWZB0zgam2wLbC0ms-f0gMbm_34O+<wbr>G3mqBZKDQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi James<br>
<br>
Thanks for the response.<br>
<br>
I installed Firefox on the 32020 build two different ways to test:<br>
<br>
1. Using 'yum install' to get it from the repo. This installs Ver 26 as per<br>
your email.<br>
2. Using the download (firefox-50.1.0.tar.bz2) from the Firefox downloads<br>
site which gives Ver 50.<br>
<br>
The behaviour of both versions with respect to the sound appears to be the<br>
same.<br>
<br>
The browsers will play an mp3 file when it is simply linked within a web<br>
site, (by default using the VLC plug-in according to the FF<br>
Preferences/Application dialogue) but will not play an mp3 file within<br>
simple HTML5 sites (eg our vt-motoli site)<br>
The Reading Eggs site works well visually (it won't work properly in<br>
Epiphany), but is absolutely silent. As far as I understand, this site is<br>
using Flash.<br>
<br>
It seems from some postings I read that FF expects to have Pulse Audio<br>
support on Linux systems (and this is not included in the XO software).<br>
So it is interesting that when you installed apulse, there is still an<br>
issue.<br>
<br>
Ref:<br>
<a href="https://www.reddit.com/r/firefox/comments/451074/firefox_to_make_pulseaudio_a_hard_requirement_on/" rel="noreferrer" target="_blank">https://www.reddit.com/r/<wbr>firefox/comments/451074/<wbr>firefox_to_make_pulseaudio_a_<wbr>hard_requirement_on/</a><br>
<br>
regards<br>
Terry<br>
<br>
<br>
<br>
> Message: 1<br>
> Date: Wed, 4 Jan 2017 10:39:02 +1100<br>
> From: James Cameron <<a href="mailto:quozl@laptop.org">quozl@laptop.org</a>><br>
> To: <a href="mailto:devel@lists.laptop.org">devel@lists.laptop.org</a><br>
> Subject: Re: Firefox on XO<br>
> Message-ID: <<a href="mailto:20170103233902.GB5865@us.netrek.org">20170103233902.GB5865@us.<wbr>netrek.org</a>><br>
> Content-Type: text/plain; charset=iso-8859-1<br>
><br>
> G'day Terry,<br>
><br>
> You didn't mention which version of Firefox.<br>
><br>
> With firefox-26.0-2 from the Fedora 18 repository your no-sound issue<br>
> with those sites reproduces.<br>
><br>
> Then I installed apulse, a PulseAudio emulation for ALSA, but the<br>
> problem persisted.  Looking at /proc/$(pidof firefox)/smaps the<br>
> libpulse libraries are not mapped.<br>
><br>
> Which Firefox are you trying, and how are you trying it?<br>
><br>
> References:<br>
><br>
> <a href="https://github.com/i-rinat/apulse" rel="noreferrer" target="_blank">https://github.com/i-rinat/<wbr>apulse</a> (source)<br>
> <a href="https://github.com/vitvegl/apulse-rpm" rel="noreferrer" target="_blank">https://github.com/vitvegl/<wbr>apulse-rpm</a> (for the spec file)<br>
><br>
> dependencies: gcc-c++ gcc-sh-linux-gnu cmake alsa-lib-devel glib2-devel<br>
> alsa-lib glib2<br>
><br>
> On Sun, Jan 01, 2017 at 08:52:39AM +1000, T Gillett wrote:<br>
> > Hi All<br>
> ><br>
> > I have installed Firefox on the current 13.2.8 build on XO-1.5 and it<br>
> works OK<br>
> > except that there is no sound on some websites.<br>
> > Other sites work OK.<br>
> ><br>
> > This seems to be a known problem:<br>
> >     [1]<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=803042" rel="noreferrer" target="_blank">https://bugzilla.mozilla.<wbr>org/show_bug.cgi?id=803042</a><br>
> >     [2]<a href="http://forums.fedoraforum.org/showthread.php?t=277040" rel="noreferrer" target="_blank">http://forums.fedoraforum.<wbr>org/showthread.php?t=277040</a><br>
> >     [3]<a href="https://ask.fedoraproject.org/en/question/65978/fedora-21-fi" rel="noreferrer" target="_blank">https://ask.fedoraproject.<wbr>org/en/question/65978/fedora-<wbr>21-fi</a><br>
> > refox-3603-and-flash-no-sound-<wbr>system-sound-fine/<br>
> >     [4]<a href="http://unix.stackexchange.com/questions/144395/" rel="noreferrer" target="_blank">http://unix.stackexchange.<wbr>com/questions/144395/</a><br>
> > firefox-html5-asoundrc-no-<wbr>sound<br>
> ><br>
> > The issue seems to revolve around getting FF to use ALSA for sound, and<br>
> without<br>
> > installing PulseAudio.<br>
> ><br>
> > I am wondering if anyone using Firefox on XO has encountered and/or<br>
> solved this<br>
> > problem.<br>
> ><br>
> > Thanks in advance for any help on this.<br>
> > Terry<br>
> ><br>
> > ------------------------<br>
> ><br>
> > Some sites for testing the audio. Open any of these in a new tab and you<br>
> should<br>
> > hear audio.<br>
> ><br>
> > 1.    [5]<a href="http://student.readingeggs.com//sample_lessons/#/sample/" rel="noreferrer" target="_blank">http://student.readingeggs.<wbr>com//sample_lessons/#/sample/</a><br>
> lesson/6/<br>
> > activity/1<br>
> > No sound on XO.<br>
> ><br>
> > 2.    [6]<a href="http://vt-motoli.org/CG/cg_03/cg_03.html#l-en" rel="noreferrer" target="_blank">http://vt-motoli.org/CG/cg_<wbr>03/cg_03.html#l-en</a><br>
> > No sound on XO.<br>
> ><br>
> > 3.    [7]<a href="http://robbbenson.com/01%20Eve.mp3" rel="noreferrer" target="_blank">http://robbbenson.com/01%<wbr>20Eve.mp3</a><br>
> > Sound OK.<br>
> ><br>
> > References:<br>
> ><br>
> > [1] <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=803042" rel="noreferrer" target="_blank">https://bugzilla.mozilla.org/<wbr>show_bug.cgi?id=803042</a><br>
> > [2] <a href="http://forums.fedoraforum.org/showthread.php?t=277040" rel="noreferrer" target="_blank">http://forums.fedoraforum.org/<wbr>showthread.php?t=277040</a><br>
> > [3] <a href="https://ask.fedoraproject.org/en/question/65978/fedora-21-" rel="noreferrer" target="_blank">https://ask.fedoraproject.org/<wbr>en/question/65978/fedora-21-</a><br>
> firefox-3603-and-flash-no-<wbr>sound-system-sound-fine/<br>
> > [4] <a href="http://unix.stackexchange.com/questions/144395/firefox-" rel="noreferrer" target="_blank">http://unix.stackexchange.com/<wbr>questions/144395/firefox-</a><br>
> html5-asoundrc-no-sound<br>
> > [5] <a href="http://student.readingeggs.com//sample_lessons/#/sample/" rel="noreferrer" target="_blank">http://student.readingeggs.<wbr>com//sample_lessons/#/sample/</a><br>
> lesson/6/activity/2<br>
> > [6] <a href="http://vt-motoli.org/CG/cg_03/cg_03.html#l-en" rel="noreferrer" target="_blank">http://vt-motoli.org/CG/cg_03/<wbr>cg_03.html#l-en</a><br>
> > [7] <a href="http://robbbenson.com/01%20Eve.mp3" rel="noreferrer" target="_blank">http://robbbenson.com/01%<wbr>20Eve.mp3</a><br>
><br>
> > ______________________________<wbr>_________________<br>
> > Devel mailing list<br>
> > <a href="mailto:Devel@lists.laptop.org">Devel@lists.laptop.org</a><br>
> > <a href="http://lists.laptop.org/listinfo/devel" rel="noreferrer" target="_blank">http://lists.laptop.org/<wbr>listinfo/devel</a><br>
><br>
><br>
> --<br>
> James Cameron<br>
> <a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
><br>
><br>
> ------------------------------<br>
><br>
> Subject: Digest Footer<br>
><br>
> ______________________________<wbr>_________________<br>
> Devel mailing list<br>
> <a href="mailto:Devel@lists.laptop.org">Devel@lists.laptop.org</a><br>
> <a href="http://lists.laptop.org/listinfo/devel" rel="noreferrer" target="_blank">http://lists.laptop.org/<wbr>listinfo/devel</a><br>
><br>
><br>
> ------------------------------<br>
><br>
> End of Devel Digest, Vol 127, Issue 2<br>
> ******************************<wbr>*******<br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.laptop.org/pipermail/devel/attachments/20170105/03982529/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.laptop.org/<wbr>pipermail/devel/attachments/<wbr>20170105/03982529/attachment-<wbr>0001.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
______________________________<wbr>_________________<br>
Devel mailing list<br>
<a href="mailto:Devel@lists.laptop.org">Devel@lists.laptop.org</a><br>
<a href="http://lists.laptop.org/listinfo/devel" rel="noreferrer" target="_blank">http://lists.laptop.org/<wbr>listinfo/devel</a><br>
<br>
<br>
------------------------------<br>
<br>
End of Devel Digest, Vol 127, Issue 3<br>
******************************<wbr>*******<br>
</blockquote></div><br></div></div></div></div>