According to the Microsoft documentation, there are two dirty ways to catch such objects DOM events :
Here are two exemples using the "PlayStateChange" event :
The two script tag properties "for" and "event" don't appear in the HTML standards, nevertheless that way works fine with Internet Explorer 6, 7 and Firefox 2, but doesn't with Firefox 3 . The second one works on all those browsers, but a problem appears when several player instances are running. How to know which one has fired the event ?
An alternate way is using DOM level 2 events. However, the WMP plugin for Firefox doesn't fire its events in the DOM. Instead of it, the plugin probably look for matching script tags and eval the content it found.
So, the good syntax to make it work with IE is :