Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    Regular Coder
    Join Date
    Jun 2012
    Posts
    133
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Firefox problem with script

    http:mroldies.net/Jan-4-1960.html

    I have a script from dynamicdrive on this site and the people there are working on fixing some issues.
    I can't seem to figure out why Firefox 9 or even the new version 13, refuses to load the mp3's.
    IE, Opera, and Seamonkey have no problems. It is only with firefox.

    If someone here can shed some light on the issue I'd greatly appreciate it.

    It does not appear to be a caching issue. I have closed the window, cleared the cache and still I get nothing.

  • #2
    Senior Coder xelawho's Avatar
    Join Date
    Nov 2010
    Posts
    2,969
    Thanks
    56
    Thanked 557 Times in 554 Posts
    I don't know about for flash players but I know that with html5 audio firefox cannot play mp3's - something about a licensing restriction (firefox can't afford/ refuses to pay whoever) that I assume goes for swf as well

    the html5 workaround is to have an .ogg or .wav file of the same track to use in case the mp3 doesn't load - FF has no problems with those

  • #3
    Regular Coder
    Join Date
    Jun 2012
    Posts
    133
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Oh so that's the problem?
    So now I have to a specific page for firefox users?
    I'm using the wordpress standalone flash audio player.

    Code:
    AudioPlayer.embed("audioplayer_1", {soundFile: "http://eample.com/Artist -  Title.mp3"})
    That's the basic code for the actual way wordpress does it.
    So how would I address the problem using ogg instead?

    A license for mp3? Sheesh. Mp3 is public domain.

    Not to mention having to duplicate the files just to please FF.

  • #4
    Senior Coder xelawho's Avatar
    Join Date
    Nov 2010
    Posts
    2,969
    Thanks
    56
    Thanked 557 Times in 554 Posts
    I don't know anything about that player (maybe check the docs or ask on the flash branch), but I am sure there is a backup that you can do that will not involve duplicate pages. Fwiw, flash is not in my opinion such a great option as there are plenty of people who do not have it installed or block its operation, which is why using the browser to play audio makes sense, and having flash as a fallback if the browser is so old that it doesn't do html5. This is what that would look like:
    Code:
    <audio controls preload="auto" autobuffer> 
      <source src="elvis.mp3" />
      <source src="elvis.ogg" />
      <!-- now include flash fall back -->
    </audio>
    from what I understand, the mp3 compression algorithm is actually patented, so FF had to pay to incorporate mp3 capability into their browser, whereas .ogg is completely patent-free
    Last edited by xelawho; 06-23-2012 at 05:38 AM.

  • #5
    Regular Coder
    Join Date
    Jun 2012
    Posts
    133
    Thanks
    0
    Thanked 0 Times in 0 Posts
    yeah and all I ever get is a shadowed container box with a big X.

  • #6
    Gütkodierer
    Join Date
    Apr 2009
    Posts
    2,127
    Thanks
    1
    Thanked 426 Times in 424 Posts
    Quote Originally Posted by Suwannee_guy View Post
    A license for mp3? Sheesh. Mp3 is public domain.
    Just because something is widely in use doesn't make it public domain — there's a whole bunch of patents regarding MP3 decoding, and although there shouldn't be any MP3 licensing fees for open source software, Firefox has been reluctant to implement anything potentially encumbered by patents.

    Since you're using a Flash player, this shouldn't be the problem, though. I just tried the first MP3 on your site in a few browsers, including Firefox, and it behaved the same everywhere — it never got beyond the buffering stage.
    .My new Javascript tutorial site: http://reallifejs.com/
    .Latest article: Calculators — Tiny jQuery calculator, Full-fledged OOP calculator, Big number calculator
    .Latest quick-bit: Including jQuery — Environment-aware minification and CDNs with local fallback


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •