Javascript for firefox to catch events from embedded windows media player targeting a frame?

Dear Experts,

This is a long standing problem of mine and I thought that I had found the solution when Microsoft published this:

http://msdn.microsoft.com/en-us/library/dd564575(VS.85).aspx

The trouble is that I can't seem to make it work.  I have tried to replicate it here:

http://www.emincote.com/firefox_test/

There isn't a slide in the RH frame.  Of course it works in IE, but doesn't work in Firefox and I don't want to install the other player.  The crux seems to be this function:

    <SCRIPT for="Player" event="ScriptCommand(scType, scParam)">
      if( scType == "URL" )
      {
        str = scParam
      str = str.replace("&&sld_pres","");
      alert("The string is " + str);
      parent.frames[1].location = str;
      }
    </script>

Which won't fire in Firefox.

Any help would be very much appreciated.

Thanks

Emincote
emincoteAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Michel PlungjanIT ExpertCommented:

    <SCRIPT for="Player"  event="ScriptCommand(scType, scParam)">
is IE only.

http://www.tech-archive.net/Archive/Media/microsoft.public.windowsmedia.player/2007-04/msg00390.html

Script commands aren't implemented in the firefox plugin.
 It only offers basic top level stuff like play/pause/stop.
 
 NB the classID and object model you have below is only marginal now,
 it's been depracated for 4 player versions, you should really be using
 the WMP9 object model in IE embedding.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
emincoteAuthor Commented:
I don't think that this problem is solvable
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Browsers

From novice to tech pro — start learning today.