librefm-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Librefm-bugs] [bug #26700] Javascript bug affecting non-HTML5 browsers


From: Mind Booster Noori
Subject: [Librefm-bugs] [bug #26700] Javascript bug affecting non-HTML5 browsers
Date: Wed, 27 May 2009 17:28:09 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.9) Gecko/2009050519 Iceweasel/3.0.6 (Debian-3.0.6-1)

URL:
  <http://savannah.nongnu.org/bugs/?26700>

                 Summary: Javascript bug affecting non-HTML5 browsers
                 Project: libre.fm
            Submitted by: mindbooster
            Submitted on: Wed 27 May 2009 05:28:08 PM GMT
                Category: nixtape/alpha
                Severity: 3 - Normal
              Item Group: UI
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Going, for instance, to 
http://alpha.libre.fm/listen/?tag=Dark+Ambient
should show a message telling me my browser doesn't support HTML5, but
instead nothing appears, because there's a Javascript bug.

The code does:

//Browser doesn't support <audio>
if(streaming) {
audio.replaceWith("<p>Sorry, you need a browser capable of using the HTML 5
&lt;audio&gt; element to enjoy the streaming service via the Javascript
player.</p>");
}

But replaceWith doesn't exist... I guess you're trying to use JQuery's
replaceWith function, but that library isn't present (at least here).




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?26700>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]