Re: Windows Media Player - Javascript Control in Browser is unpredicta

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



From: "srsm"

[...]
In summary. I've spent countless hours trying to control
the Player via javascript. I've tried hundreds (no
exaggeration) of combinations of
commands/params/uppercase/lowercase/false(0)/true(1) etc
WMP in a browser - does it work?

This has been discussed over and over. You didn't read the
docs:

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

And 2 tips missing from the docs:

- info about the media are only available after the media
has been loaded, not right after you ask the player to load
it, so you need to wait for the corresponding event

- calling methods that cause a state change from a state
change event handler is unpredictable and dangerous; if you
need to, call them using a short setTimeout()


--
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// mvpnews at riseoftheants dot com
// http://www.riseoftheants.com/mmx/faq.htm


.



Relevant Pages

  • RE: Media Player 10 und SATA-Brenner
    ... dass auf Ihrem Computer der Windows Media ... Player in der neuesten Version installiert ist. ... Klicken Sie bitte anschließend auf. ...
    (microsoft.public.de.german.windowsxp.multimedia)
  • Re: Get nasty security message using EMBED in html
    ... Song should play automatically. ... media file types, ... usually can use an ActiveX object to play on an IE browser. ... The media is played by a media player and not a browser. ...
    (alt.html)
  • Re: How can I disable windows media center in vista
    ... off Media Center as autoplay in the AutoPlay settings, ... Inserting a dvd still opens up media center. ... Microsoft hasn't seen fit to FIX it's Media Player. ...
    (microsoft.public.windows.vista.music_pictures_video)
  • Re: How can I disable windows media center in vista
    ... Inserting a dvd still opens up media center. ... Go to Control Panel, then Auto Play. ... Microsoft hasn't seen fit to FIX it's Media Player. ...
    (microsoft.public.windows.vista.music_pictures_video)
  • Re: Media Player 11 corruption?
    ... This forum is to address all Media Player's "corruptions" and errors. ... I have identified where Media Player gets its entry for the preferred MPEG ... which can be assigned independently from the system general MPEG decoder. ...
    (microsoft.public.windows.vista.general)