Why will Safari not play MP3s embedded in my iWeb pages when Firefox can?

One would have thought that if iWeb was going to get picky over the scenarios in which it would behave correctly, it would favour Apple-centric enviroments. But this doesn't appear to be the case when building an iWeb site with embedded MP3 files.


The published site behaves perfectly when viewed in Firefox and yes, even IE's latest incarnation. Files may take a while to download but they play when the download has finished. Safari is a different story. The MP3 files embedded in some pages simply will not play when viewed with Safari.


This page in particular has never worked in Safari -

http://www.whisperycat.co.uk/version_5/sounds/Entries/2011/3/23_Promenade.html


A small blue questionmark appears instead of the 'Play' button.


Any workarounds or is it just the case that Safari and iWeb are incompatible on this fundamental point???

Mac Mini, Mac OS X (10.6.7), Dual Core 2Gb RAM

Posted on May 5, 2012 6:10 AM

Reply
Question marked as Top-ranking reply

Posted on May 6, 2012 8:59 AM

Try dragging the MP3 in from the Finder rather than iTunes if you have the original.


I think the problem may be associated with the meta data added by iTunes. The question first arose a while back when an iWeb user was loading files from iTunes, hosting them on MobileMe and having a problem with them not loading in Safari 5.

21 replies
Question marked as Top-ranking reply

May 6, 2012 8:59 AM in response to whisperycat

Try dragging the MP3 in from the Finder rather than iTunes if you have the original.


I think the problem may be associated with the meta data added by iTunes. The question first arose a while back when an iWeb user was loading files from iTunes, hosting them on MobileMe and having a problem with them not loading in Safari 5.

May 7, 2012 12:55 AM in response to whisperycat

After some testing is shows that adding illustrations to a tune in iTunes the MP3 file does not play (with or without an iWeb page) in Safari.


When using this app to add an illustration to the MP3 file


http://www.macupdate.com/app/mac/21456/id3-editor


the illustration is shown in iTunes when you add the tune and it will play in a webpage in the browser (with or without iWeb).


So apparently it's a bug in iTunes when adding the picture.


You can safely use MP3 files in all browsers without any problem.

May 6, 2012 9:29 AM in response to Roddy

Roddy, thank you, I think your last post really did resolve my question. Since I created the files I do have the originals. I dragged them into the Podcast page from Finder instead of using iWeb's (restricted to iPhoto and iTunes) import locations. Re-uploaded the affected pages to my host and now Safari is definitely loading and playing them. Many thanks!

May 7, 2012 1:23 AM in response to Wyodor

And speaking about odd.


When I add your original tune to iTunes and then add it to iWeb, the tune will not play.


When I remove the image from your tune (drag the image to the desktop) and then add it to iWeb, it will play.


When I add the image to the tune (drag it from the desktop) in iTunes again and use the tune in iWeb again, it will play in the webpage.


Somewhere in the chain of events your tune was effected when the image was added.

May 5, 2012 8:54 AM in response to whisperycat

Well it looks as though I answered my own question. A Google search revelas that Safari has had over 2 years' history of reported problems with the mp3 format -


http://www.google.co.uk/search?client=safari&rls=en&q=safari+wont+play+mp3&ie=UT F-8&oe=UTF-8&redir_esc=&ei=nkulT9_wA82g8gOPj8ntBA


- and the solution is... STOP USING MP3 FILES


Yes, mp3 format is out, mp4 format is in. SO I'll need to upload MP4 versions of my audio files and then retry.

May 5, 2012 9:38 AM in response to whisperycat

The topic was discussed a while back and its only in certain situations with certain combinations that this happens.


iWeb is no longer supported by Apple but the application will be usuable for quite some time.


Use an HTML5 audio tag to play your music and it will work on most devices and in all browsers except the older versions of Internet Explorer...


http://www.iwebformusicians.com/Website-Music-Players/HTML5-Audio.html

Sep 26, 2012 12:09 PM in response to whisperycat

Reading this, I suspect Itunes is the problem indeed. I just posted this:


After a week of mailing with the makers of It's Learning I have found a solution.

The problem occured when opening a mp3 within It's Learning, an Electronic Learning Surrounding. Safari would just 'load' the file, but nothing would actually happen. At the end I discoverd this would happen to 'only' 49 mp3's in a list of songs my first year pupils use for learning excercises. Some 80 other files, from 2nd and 3rd year pupils did not have this issue.

When uploading a new version of the same file, it still did not solve the problem. After ripping the CD and renaming all the files, it seemed to work, so I started to rearrange the files, names, albumtitles etc. And provide them with an illustration of the cover, because this looks nice on my mp3 player. But then the problem reoccured. The file kept on loading... So I unpictured all the files, and uploaded the mp3's again. Now they do open in Safari.


This issue with the 'corrupt' files, did not happen on Firefox for Mac or on PC's with Windows and Internet Explorer.


Although previously the files had no issue's untill about a week ago, this 'suddenly' occured. This is the same with letters in titles like é. Uploading files with this in the title did end with an 'unfindeable file' message.


Best regards,

Jeroen Pouw

Sep 26, 2012 5:36 PM in response to whisperycat

Its a long time since this problem appeared and I forget most of the details but it is related to the meta data.


One of my workarounds when trying to find the cause of this was to remove the data and add it with another aplication - Bias Peak.


I don't ever use iTunes to process or store files or QuickTime to play audio anyway. Nowadays its better to use an HTML5 player with flash fallback.


I recommend John Dyer's audio version of the mediaelement player for single songs. See the bottom of this page for an example...


http://www.iwebformusicians.com/Website-Music-Players/HTML5-Audio-In-A-Box.html


You can see from my examples that several can be used in one HTML Snippet sharing the same basic code.


There are a number of good playlist style players around now that use HTML5 with flash fallback like this...


http://www.iwebformusicians.com/Website-Music-Players/music-box.html


... and these...


http://www.ezmacwebdesign.com/Audio-Playlist-Players/audio-playlist.html

May 7, 2012 12:15 AM in response to Wyodor

Thanks Wyodor. Putting it all together then, one could infer that the reason some browsers are unable to properly handle iTune originated mp3 files is because iTunes often stores these files with additional meta-data in the form of cover artwork and this additional meta-data somehow porks the correct handling of the file?


If I was testing this software I would have to file a big fat bug report against either iTunes, iWeb or Safari because those 3 components were all distributed by Apple as part of a standard OS X install and the bottom line is the "Import From iTunes" option within iWeb does not work as expected. Roddy's workaround is functionally similar to your own, in both cases a flaw in iWeb / Safari creates a situation where the end user has to paper over the cracks in these applications by sidestepping the iTunes meta-data.


Of course since iWeb is no longer supported officially this issue will never get fixed properly so I'm doubly grateful for all your comments since they'll extend the working life of the iWeb app.


At some point my transistion to 64 bit OS will have to happen and at that point I wonder if iWeb will even run.


Thanks again folks, this has been an interesting little exercise :-)

Sep 26, 2012 3:27 PM in response to Yuroon

Hi Jeroen.


Sounds like iTunes is speaking a meta-language all the browsers except Safari understand. I'm suprised Safari can't handle an iTunes format. If you still experience intermittent unplayable files, lookout for filenames containing non English alphabet characters, math symbols, the whole range of characters ( % $ @ ! etc), invisible control characters- any one of these can trip you up in one app but not another.


Glad you got things sorted.

Kind regards

whisperycat

May 7, 2012 1:40 AM in response to Wyodor

Very interesting Wyodor, thanks for your observations. The audio component of the mp3 is what I'd consider to be it's 'payload' with any artwork and other tags incidental. I can Bluetooth my mp3's to my Nokia 6330i and not only do they play but the artwork is also displayed. Apple can't control what non Apple browsers do with an iTune created file but I'm suprised that iTunes and Safari aren't integrated in any useable way on this front. As previously mentioned iWeb's discontinuation has sealed it's fate, any bugs like this will now exist for whatever remains of iWeb's lifetime.

May 5, 2012 7:05 AM in response to QuickTimeKirk

Hi QuickTime Kirk. Thanks for your response. However at this point I've not seen any evidence for myself that the affected pages work. At least one user advised me today via Twitter that my MP3 pages weren't loading/playing. I myself absolutely cannot get Safari to load and play these pages properly, even with a local instance of the site. I have never been able to get these pages working. Can you offer any advice as to why you aren't experiencing the same problems?

Thanks again for the response

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Why will Safari not play MP3s embedded in my iWeb pages when Firefox can?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.