Using the Windows Media Player plugin with Firefox
To play Windows media in Firefox, Firefox needs the Windows Media Player browser plugin installed. There are two different versions:
- The original, which is usually included with Windows from 98 up to XP Home/Professional
- The new version, which is specifically for Windows XP and Windows Vista and is only available by download.
Many Windows XP users will have the old plugin already, but it is recommended that you install the new plugin anyway.
This article describes how to check for and install the Windows Media Player plugin in Windows XP/Vista. XP users may already have the old plugin, but the new plugin is recommended.
Table Of Contents
- Checking if the plugin is installed
- Installing the plugin
- Testing the plugin
- Advanced information
- Differences compared to Internet Explorer
- File types it will play
- JavaScript
- Internet Explorer-only coding
- ActiveX
- Requirements
- Installation
- Testing the plugin
Checking if the plugin is installed
To see if you already have the plugin installed:
- At the top of the Firefox window, click the Tools menu and select Add-ons. The Add-ons window will open.
- In the Add-ons window, select the Plugins panel. This reveals a detailed list of all of Firefox's plugins.
- Scroll down the list, and look for the entry called:
Microsoft® Windows Media Player Firefox Plugin
np-mswmp.dll

- If the entry is present, then the plugin is installed.
- If the entry is missing, proceed to the Installing the new plugin section.
Installing the plugin
If the entry described above is not present, then the plugin is not installed. You have to download it.
- Go to the plugin download page on Port25.
- (The Port25 page also contains more detailed installation instructions).
- Click "Download Now!" You will be prompted to save a file.
- Save the file to your desktop.
- Once it has downloaded, run it, and the plugin will install.
- When the installation has finished, close and restart Firefox:
- Click the File menu at the top of the Firefox window, and select Exit.
- When Firefox has completely closed, start Firefox up again.
Testing the plugin
The following link is to a test player that requires the new Windows Media Player plugin. If the player loads and plays, then the plugin is installed correctly: http://plugindoc.mozdev.org/testpages/wmp11.html
Advanced information
Differences compared to Internet Explorer
File types it will play
Internet Explorer uses the Windows Media Player ActiveX Control to play media, and Internet Explorer will use it to play any media format that Windows Media Player itself can play.
The Windows Media Player plugin will only play the Windows media file types such as wmv and asx, unless the website is very specifically crafted.
This means that where an embedded mp3, for example, would play in Windows Media Player in Internet Explorer, it would play most likely using QuickTime in Firefox. Windows Media Player does not provide any way of changing the file types the Windows Media Player plugin will play.
For many of these file types, such as midi and mpeg, the QuickTime plugin will first need to be configured to play them - this can be done within its user preferences. Otherwise, you will see a missing plugin alert for QuickTime even if you already have QuickTime installed. For more information, see the QuickTime article.
As an alternative, the IE Media Mimic user script (for use with the Greasemonkey extension) can correct this issue in most cases - embedded media that would normally not play with Windows Media Player in Firefox will be made to.
Details (hidden)
[+]
JavaScript
Some web pages use JavaScript to build custom player control buttons or to retrieve and display information on the player's current status.
The original Windows Media Player plugin (included with Windows XP home/pro and older) did not support this capability. The new plugin (downloadable for use in XP/Vista) does, but most sites using these advanced functions still specifically target Internet Explorer. So, they won't work even with the new plugin until the page is updated to account for it.
Details (hidden)
[+]
Internet Explorer-only coding
Some websites embed media in ways that only work in Internet Explorer - either because those who wrote the site do not know how to write code that works in other browsers, or they don't know they need to, or they don't want to.
The aforementioned IE Media Mimic user script can also correct many kinds of IE-only coding.
ActiveX
ActiveX is the system Internet Explorer uses in place of the NPAPI plugin system that most other browsers use. There was a plugin for Netscape-based browsers that grants the browser partial ActiveX support - this would allow Firefox to use the Windows Media Player ActiveX Control and the majority of its functionality, and so work on many otherwise Internet Explorer-only pages.
However, the most recent version only supports Firefox 1.5 and does not work in Firefox 2 or 3. More detailed information can be found in the ActiveX article.
Windows Media Player used to be available for the Mac platform, but is no longer supported by Microsoft. In its place, Flip4Mac is the replacement of choice - it adds Windows media playback capabilities to Quicktime.
Requirements
Flip4Mac is an add-on for Quicktime, so Quicktime must be installed first. For information on Quicktime, see the Quicktime article.
Installation
Download and install Flip4Mac from the official website: http://www.flip4mac.com/wmv_download.htm
The website includes more detailed installation and usage instructions.
Mplayer is a popular Linux media player that can play back Windows Media files. In order to use Mplayer to play Windows Media stream in Firefox, you must install two packages named gnome-mplayer and gecko-mediaplayer. Your Linux distribution may have these packages readily available to install.
Testing the plugin
The following link is to a test player that requires the new Windows Media Player plugin. If the player loads and plays, then the plugin is installed correctly: http://plugindoc.mozdev.org/testpages/wmp11.html
Based on information from Windows Media Player (mozillaZine KB)
Did this article solve a problem you had with Firefox?
Was this article easy to understand?
Still need help? Ask a support question.
Help us improve this article. Submit additional feedback.
