Closed Bug 89382 Opened 23 years ago Closed 23 years ago

Bad support for JavaScript plugin methods for wave files.

Categories

(Core Graveyard :: Plug-ins, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: zoran, Assigned: serhunt)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.2) Gecko/20010628
BuildID:    2001062815

Enter any of the categories in the GALLERY on this site.
A menu of images will show on the right side and a big image
in the middle of the screen. Clicking on any of the menu images
on the right causes a bigger image to be displayed. As the file loads in the
middle frame, the Play() method for a wave file plugin
(QuickTime or Sound Player) should be activated and a release of a camera
shutter should be heard. No sound is produced. The same problem also exists in
Netscape 6.x. The same code works in Netscape 4.x.


Reproducible: Always
Steps to Reproduce:
1.Just click on any menu images in the GALLERY (see description above)
  and the sound of a camera shutter is not heard.
2. 
3.

Expected Results:  A wave file plugin should reproduce a sound on activating a
Play() method. 

Any test JavaScript files that I produced to test this bug, duplicated 
the problem.
Over to liveconnect....
Assignee: av → rogerl
Component: Plug-ins → Live Connect
QA Contact: shrir → pschwartau
Actually, this goes to OJI component; reassigning - 
Assignee: rogerl → edburns
Status: UNCONFIRMED → NEW
Component: Live Connect → OJI
Ever confirmed: true
QA Contact: pschwartau → shrir
Here's the HTML from the frame http://www.timeprints.com/Code/galMenuN.html


<HTML>
<HEAD>
<TITLE>G A L L E R Y   M E N U   N</TITLE>
<SCRIPT LANGUAGE="JavaScript" SRC="db.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="fotoSearch.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="galMenuN.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="status.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="contact.js"></SCRIPT>
</HEAD>
<BODY onLoad="loadFoto(); showStatus()" 
      onUnload="if(fotoSearch){fotoSearch.close(); fotoSearch=null;}" 
      BGCOLOR="#37270E" BACKGROUND="Samples/bgDark.jpg"
      MARGINWIDTH="0" MARGINHEIGHT="0" TOPMARGIN="0" LEFTMARGIN="0" 
      TEXT="#EEE1C7" LINK="#915D2A" VLINK="#915D2A" ALINK="#915D2A">

<TABLE BORDER="0" WIDTH="138" HEIGHT="300" CELLSPACING="0" CELLPADDING="0">
 <TR>
  <TD ALIGN="left" VALIGN="top">
    <IMG SRC="Samples/logoSmall.jpg" WIDTH="130" HEIGHT="73" BORDER="0" 
         HSPACE="0" VSPACE="0"></TD>
  </TR>
  <TR>
  <TD>
   <BR><BR>
  </TD>
 </TR>
  <TR>
   <TD BGCOLOR="#37270E" ALIGN="left" VALIGN="top">
	<A HREF="JavaScript:void(0)" onClick="return loadList(0)">
           <IMG SRC="Buttons/homeOff.jpg" NAME="home" BORDER="0" WIDTH="120" 
                HEIGHT="25"></A></TD>
 </TR>
 
 <TR>
  <TD BGCOLOR="#37270E" ALIGN="left" VALIGN="top">
   <A HREF="JavaScript:void(0)" onClick="return loadList(1)">
           <IMG SRC="Buttons/galOn.jpg" NAME="gal" BORDER="0" WIDTH="120" 
                HEIGHT="25"></A></TD>
 </TR>
 <TR>
  <TD BGCOLOR="#37270E" ALIGN="left" VALIGN="top">
   <A HREF="JavaScript:void(0)" onClick="return loadList(2)">
           <IMG SRC="Buttons/ldOff.jpg" NAME="ld" BORDER="0" WIDTH="120" 
                HEIGHT="22"></A></TD>
 </TR>
 <TR>
  <TD BGCOLOR="#37270E" ALIGN="left" VALIGN="top">
   <A HREF="JavaScript:void(0)" onClick="return loadList(3)">
           <IMG SRC="Buttons/brOff.jpg" NAME="br" BORDER="0" WIDTH="120" 
                HEIGHT="22"></A></TD>
 </TR>
 <TR>
  <TD BGCOLOR="#37270E" ALIGN="left" VALIGN="top">
   <A HREF="JavaScript:void(0)" onClick="return loadList(4)">
           <IMG SRC="Buttons/inOff.jpg" NAME="in" BORDER="0" WIDTH="120" 
                HEIGHT="22"></A></TD>
 </TR>
 <TR>
  <TD BGCOLOR="#37270E" ALIGN="left" VALIGN="top">
<A HREF="JavaScript:void(0)" onClick="return loadList(5)">
           <IMG SRC="Buttons/spOff.jpg" NAME="sp" BORDER="0" WIDTH="120" 
                HEIGHT="22"></A></TD>
 </TR>
 <TR>
  <TD BGCOLOR="#37270E" ALIGN="left" VALIGN="top">
 <A HREF="JavaScript:void(0)" onClick="return loadList(6)">
           <IMG SRC="Buttons/mmOff.jpg" NAME="mm" BORDER="0" WIDTH="120" 
                HEIGHT="22"></A></TD>
 </TR>
 <TR>
  <TD BGCOLOR="#37270E" ALIGN="left" VALIGN="top">
  <A HREF="JavaScript:void(0)" onClick="return loadList(7)">
           <IMG SRC="Buttons/amOff.jpg" NAME="am" BORDER="0" WIDTH="120" 
                HEIGHT="22"></A></TD>
 </TR>
 <TR>
  <TD BGCOLOR="#37270E" ALIGN="left" VALIGN="top">
   <A HREF="JavaScript:void(0)" onClick="return loadList(8)">
           <IMG SRC="Buttons/rpOff.jpg" NAME="rp" BORDER="0" WIDTH="120" 
                HEIGHT="22"></A></TD>
 </TR>
 
 <TR>
  <TD BGCOLOR="#37270E" ALIGN="left" VALIGN="top">
  <A HREF="JavaScript:void(0)" onClick="return loadList(9)">
           <IMG SRC="Buttons/searchOff.jpg" NAME="search" BORDER="0" WIDTH="120" 
                HEIGHT="22"></A></TD>
 </TR>
 <TR>
  <TD BGCOLOR="#37270E" ALIGN="left" VALIGN="top">
  <A HREF="JavaScript:void(0)" onClick="return clickSwitch()">
           <IMG SRC="Buttons/soundOn.jpg" NAME="sound" BORDER="0" WIDTH="120" 
                HEIGHT="22"></A></TD>
 </TR>
 <TR>
  <TD BGCOLOR="#37270E" ALIGN="left" VALIGN="top">
 <A HREF="JavaScript:void(0)" onClick="return loadList(10)">
           <IMG SRC="Buttons/storeOff.jpg" NAME="store" BORDER="0" WIDTH="120" 
                HEIGHT="25"></A></TD>
 </TR>

 </TR>
 <TR>
  <TD BGCOLOR="#37270E" ALIGN="left" VALIGN="top">
  <A HREF="JavaScript:void(0)" 
    onClick="if(parent.galMain.document.images['slika'])
	       { return addCart(parent.galMain.podat('kod'))}
			 else{return false;}">
           <IMG SRC="Buttons/addCart.jpg" NAME="add" BORDER="0" WIDTH="120" 
            HEIGHT="22"></A></TD>
 </TR>

</TR>
 <TR>
  <TD BGCOLOR="#37270E" ALIGN="left" VALIGN="top">
  <A HREF="JavaScript:void(0)" onClick="return loadList(11)">
           <IMG SRC="Buttons/cartOff.jpg" NAME="cart" BORDER="0" WIDTH="120" 
                HEIGHT="22"></A></TD>
 </TR>

 <TR>
  <TD BGCOLOR="#37270E" ALIGN="left" VALIGN="top">
  <A HREF="JavaScript:void(0)" onClick="return loadList(12)">
           <IMG SRC="Buttons/bioOff.jpg" NAME="bio" BORDER="0" WIDTH="120" 
                HEIGHT="25"></A></TD>
 </TR>
 <TR>
	 <TD BGCOLOR="#37270E" ALIGN="left" VALIGN="top">
	  <A HREF="JavaScript:void(0)" onClick="return showContact()">
           <IMG SRC="Buttons/ciOff.jpg" NAME="ci" BORDER="0" WIDTH="120" 
                HEIGHT="25"></A></TD>
	</TR>
 <TR>
  <TD>
   <IMG SRC="Samples/lowerTip.jpg" BORDER="0" WIDTH="120" HEIGHT="70"></TD>
 </TR>
 <TR>
  <TD>
   <PRE>
      <EMBED SRC="Samples/camClick.wav" TYPE="audio/wav" 
                       MASTERSOUND NAME="camClick" 
                       ENABLEJAVASCRIPT="true"  VOLUME="40" LOOP="false"
                       AUTOPLAY="false" AUTOSTART="false" 
                       HEIGHT="20" WIDTH="100">

     <img border="0"                     
          src="http://fastcounter.bcentral.com/fastcounter?2280685+4561377">
   </PRE>
  </TD>
 </TR>
 
</TABLE>
</BODY>
</HTML>
This doesn't appear to have anything to do with Java, over to Plugins.
Component: OJI → Plug-ins
Let's let the module owner take a look.
Assignee: edburns → av
LiveConnect is not supposed to work with Mozilla, so all the old school plugins 
will not be scriptable. This should work with xpcom plugins which are scriptable 
via XPConnect. Marking invalid.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
spam : marking invalid bugs 'verif'. reopen if u disagree, reporter!
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.