Closed Bug 702610 Opened 13 years ago Closed 3 years ago

soundObj.Play() or soundObj.DoPlay() not recognized as function

Categories

(Core Graveyard :: Plug-ins, defect)

8 Branch
x86
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: schmidtjohn, Unassigned)

Details

User Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; Media Center PC 5.0; SLCC1; Tablet PC 2.0; MS-RTC EA 2)

Steps to reproduce:

I loaded by PHP:

    echo "<embed src='../Sounds/flip.wav' autostart=false width=0 height=0 id='soundFlip' enablejavascript='true'>\n";

Then I execute it by JavaScript:

function playSound(soundObjName)
{
  var soundObj = document.getElementById(soundObjName);

  try
  {
    soundObj.Play();       // QuickTime
  }
  catch(e)
  {
    soundObj.DoPlay();     // RealPlayer
  }
}

// Call to function:  playSound('soundFlip');



Actual results:

Firebug reports soundObj.DoPlay() or soundObj.Play() is not an object function and crashes the site. This method works on IE9, Opera11 and Safari5. I some times get the message that the QuickTime plugin crashed.
Running on Win7.


Expected results:

The required sound should have been played.
Resolving as wont fix, plugin support deprecated in Firefox 85.
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.