might be mime types but i'd have thought nginx would have mp3s by default (if thats the audio file type)
Sent from a mobile device! > On 19 Feb 2017, at 17:17, Terry Coles <[email protected]> wrote: > > On Sunday, 19 February 2017 11:46:33 GMT Ralph Corderoy wrote: >>> So the question is why is it OK on my website and not on the Pi? >> >> In both cases you're surfing, and typing underscore, into your phone? > > Yes. > > I discovered what was going wrong. As pointed out at the beginning of this > discussion it > was a permissions thing, but what has changed to cause the problem now, I > have no idea. > > On the Pi 2 running the August version, I believe that I did what I am now > doing; I copied > the web files and directories from my home directory to /var/www/html using > sudo cp -R * > . To the best of my recollection I didn't have to do anything else. > > On the Pi 3, doing the above results in all the files having 'rwx' > permissions for the user > and no permissions, eg '---' for the world and group. Once I had spotted > this and > corrected them to give 'r-x' permissions, the server worked. > > Well almost. > > The two web pages (Audio Guide and Children's Quiz) both open correctly, but > in the > Audio Guide, nothing plays when I click on a link to an item. It works with > the Pi 2, but not > the Pi 3. > > Are there any codecs or encoders that need to be installed on the server for > the audio tag > to work in html5? I tried installing the nginx-extras package and also > scanned through all > the packages associated with audio, but nothing was obvious. > > PS the latest version is now at > http://www.hadrian-way.co.uk/WMT/index.html[1] > > -- > > > > Terry Coles > > -------- > [1] http://www.hadrian-way.co.uk/WMT/index.html > -- > Next meeting: Bournemouth, Tuesday, 2017-03-07 20:00 > Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ > New thread: mailto:[email protected] / CHECK IF YOU'RE REPLYING > Reporting bugs well: http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR -- Next meeting: Bournemouth, Tuesday, 2017-03-07 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread: mailto:[email protected] / CHECK IF YOU'RE REPLYING Reporting bugs well: http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR

