bugGNU FM - Bugs: bug #26700, Javascript bug affecting non-HTML5...

 
 

bug #26700: Javascript bug affecting non-HTML5 browsers

Submitted by:  Mind Booster Noori <mindbooster>
Submitted on:  Wed 27 May 2009 05:28:08 PM UTC  
 
Category: nixtape/alphaSeverity: 3 - Normal
Item Group: UIStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 27 May 2009 05:28:08 PM UTC, original submission:

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).

Mind Booster Noori <mindbooster>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mindbooster (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup