[Webkit-unassigned] [Bug 19461] New: Browser shows pop up "Your Browser can not play sound files."

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 9 23:38:00 PDT 2008


           Summary: Browser shows pop up "Your Browser can not play sound
           Product: WebKit
           Version: 525.x (Safari 3.1)
          Platform: PC
               URL: http://www.webreference.com/js/column20/embed.html
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: sameer.inbox at gmail.com

Steps to reproduce:

1) go to http://www.webreference.com/js/column20/embed.html

2) It will shows popup Your Browser can not play sound files on safari.

Please refer following javascript which validate the browser for
audio Plugin. 


 var NSsound = navigator.plugins && navigator.plugins["LiveAudio"];
 var IEsound = navigator.plugins && document.all;
 var audioEnabled = NSsound || IEsound;
 if (!audioEnabled)
 alert("Your browser cannot play sound files.");
 if (audioEnabled)
 document.write("Let's take a look at the <CODE><FONT
COLOR='#0000cc'><EMBED></FONT></CODE> tag in action (requires a
sound-enabled browser):</P><EMBED SRC='xfiles.mid' AUTOSTART='false'
HEIGHT='60' WIDTH='144'></P>")
else document.write("Your browser cannot play sound files.");

// -->

Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list