Windows Media Player in HTML
Below are two implementations of Windows Media Player (WMP) in HTML.
First of all, you need to be aware that to run Windows Media Player in Firefox, you must install a Windows Media Player plug-in. This particular plug-in comes from Microsoft’s Open Source Community.
To implement WMP in HTML, since the <embed> statement has been deprecated by the W3C, the <object> statement is to be used instead.
Unfortunately, both the W3C Web site on its object page and the W3C Schools Web site on its Browser Videos page and Media Object page are rather simplistic in their explanations of using <object> to insert WMP into HTML; leaving out important nuances such as CLASSID, and that IE seems to require it, whereas FireFox seems to completely ignore objects having it.
That being the case, these two implementations address the discrepancy
PHP solution:
This one is written first for non-IE browsers, and addresses IE browsers using PHP.
It does NOT require duplicate code.
Test !IE solution:
This one is written first for IE browsers, then addresses non-IE
browsers using a “not-IE” (!IE) comment.
It requires duplicate code.
See WMP HTML code

