Welcome to WebmasterWorld Guest from 100.26.182.28

Forum Moderators: open

Message Too Old, No Replies

Firefox & Windows Media Player - scripting without ActiveX Plugin?

     
10:57 pm on Feb 10, 2006 (gmt 0)

New User

10+ Year Member

joined:Feb 10, 2006
posts:3
votes: 0


Can anyone provide a code snippet that both (a) embeds Windows Media Player in Firefox 1.x, and (b) listens for WMP events -- without requiring the user to first install a plugin?

There is a lot of conflicting advice out there, and nothing I've found works (except via the plug in route)...

10:39 pm on Feb 11, 2006 (gmt 0)

New User

10+ Year Member

joined:Oct 27, 2005
posts:17
votes: 0


It depends on what you try to achieve and what events you are talking about? URL script commands?

without requiring the user to first install a plugin?

Do you mean Firefox ActiveX plugin?
11:15 am on Feb 12, 2006 (gmt 0)

New User

10+ Year Member

joined:Feb 11, 2006
posts:17
votes: 0


<object classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6" id="Mediaplayer" name="Mediaplayer" height="270" width="320">
<param name="URL" value="http://yoursite.com/linkfile.mp3">
<param name="VOLUME" value="100">
<param name="PLAYCOUNT" value="10">
<param name="ENABLECONTEXTMENU" value="0">
<embed name="Mediaplayer" src="http://yoursite.com/linkfile.mp3" showstatusbar="1" playcount="10" enablecontextmenu="0" height="270" width="320">
</object>
5:20 pm on Feb 13, 2006 (gmt 0)

New User

10+ Year Member

joined:Feb 10, 2006
posts:3
votes: 0


Thanks, Taffa. Yes, I mean without the Firefox ActiveX plugin.

Most Firefox users don't have it, and I don't want to require it if avoidable.

I'm working on a player that requires the browser to interact with the Media Player object. Javascript needs to access basic player properties, like playstate.

However, I can't seem to get Firefox/Gecko to expose any of the Media Player's properties to Javascript -- using any of the multitude of (often conflicting) advice available online.

Just looking for a working example of a Media Player object, wrapped properly for Firefox, with a Javascript that gets one property...

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members