WARNING!! Before you install the ActiveX plugin, if you use the Adblock Extension, you must make sure that the setting for OBJ-TABS is disabled. Otherwise, your system will run almost any ActiveX control. See <a href="#Notes">Note 4</a>.
- Warp to <a href="#Background">Background</a>
- Warp to <a href="#wmp">Windows Media Player Plugin</a>
- <a href="#WMPSecur">Security Alert</a>
- <a href="#CheckWMPn">Checking Windows Media Player plugin installation (XP/Vista)</a>
- <a href="#CheckWMP">Checking Windows Media Player plugin installation (other)</a>
- <a href="#RestoreWMP">Restoring the Windows Media Player plugin</a>
- <a href="#ConfigWMP">Configuring/Troubleshooting the Windows Media Player plugin</a>
- Warp to <a href="#FF_1">ActiveX Plugin</a>
- <a href="#InstallAX">Installing the ActiveX plugin</a>
- <a href="#CheckAX">Checking ActiveX Plugin Installation</a>
- <a href="#Uninstall">Uninstalling ActiveX</a>
- Warp to <a href="#Notes">Notes</a>
- Warp to <a href="#Trouble">Troubleshooting</a>
For other embedded/streaming media guides and information, visit the Complete Embedded & Streaming Quicktime/Real/Windows Media Player Guide for Windows Users.
It is common to find websites that use Windows Media Player to embed audio and video into a web page. The Windows Media Player plugin, while not included with Windows Media Player, should be included with Windows itself - however this is not always the case. In addition, many websites use ActiveX only to embed media - making such websites IE-only. This guide discusses how to solve both problems.
If you came here wondering how to make Firefox use the Windows Media Player plugin play a specific file type instead of Quicktime, then you should know that the WMP plugin is hard-coded to only play the proprietary Microsoft formats (.asf, .asx, .wm, .wma, .wax, .wmv, and .wvx), and Windows Media Player provides no provision for changing this. For the most common formats found on the web (like mp3, midi, mpg, wav, etc.) you will need to install and configure Quicktime or Quicktime Alternative. The Quicktime guide contains instructions for this: http://forums.mozillazine.org/viewtopic.php?t=206210
<a name="wmp"></a>Windows Media Player Plugin
Windows Media Player provides a plugin to allow browsers other than IE to display embedded Windows Media. It is this plugin that Firefox uses. Sometimes though, the plugin is missing or refuses to work properly. This section of the guide gives instructions on checking the plugin, restoring it if missing, and on configuring it if it doesn't work properly.
<a name="WMPSecur"></a>Security Alert
Microsoft issued a security bulletin on Feb 14 2006 regarding a vulnerability in the Windows Media Player plugin on Windows 2000 and Windows XP systems, that could result in remote code execution when using non-Microsoft web browsers. Affected users should install the "Security Update for Windows Media Player Plug-in (KB911564)" available from Windows Update. This will update the WMP plugin file "npdsplay.dll" to version 220.127.116.119.
http://www.microsoft.com/technet/securi ... 6-006.mspx
<a name="CheckWMP"></a>Checking Windows Media Player plugin installation
- For this to work, you need to you have Windows Media Player 9, 10 or 11 installed. They can be installed through Windows Update.
- You can test the Windows Media Player plugin here:
- If they do not work, you need to check that Firefox can detect the Windows Media Player plugin:
- Windows XP/Vista Users
- A new Windows Media Player plugin has been released for these two platforms on Port 25, Microsoft's open source labs website. It is specifically for Firefox (it also works in Seamonkey). It is a significant improvement over the original plugin - it adds support for scripting, modern look skins, visualisations, and most (if not all) of the attributes that the ActiveX control in IE supports. It only works in Windows XP and Vista.
- Type about:plugins into the address bar. This will display Firefox's plugin information. If the plugin is installed, you will see an entry entitled: "Microsoft® Windows Media Player Firefox Plugin"
- Other versions of Windows
- Type about:plugins into the address bar. This will display Firefox's plugin information. If the following entries are present, then WMP is installed correctly:
- The "Microsoft® DRM" entry with the filename npwmsdrm.dll might be called "Microsoft Corp. DRM Netscape Plugin" instead.
- If any of these entries are missing, the Windows Media Player plugin is not properly installed.
- Type about:plugins into the address bar. This will display Firefox's plugin information. If the following entries are present, then WMP is installed correctly:
If any of the entries are missing, install the new Windows Media Player plugin from Addons.Mozilla.org
- The plugin will be automatically installed into Firefox's plugins folder. The plugin installer detects installed versions of Firefox from the Windows registry. Therefore only release versions that were installed using the installer will receive the plugin. Other Gecko browsers such as Seamonkey, and zip or development builds of Firefox will not.
- If you have a release version of Firefox installed, the plugin will have been installed there. You can then copy the plugin - np-mswmp.dll - from the plugins folder of the release version to the plugins folder of any other versions you may have.
- If you do not have a release version, the plugin file will be located at "C:\PFiles\Plugins\np-mswmp.dll". Copy it to the plugins folder of any other versions you may have.
- If any of these entries are not present, look for the files in the Windows Media Player directory (usually C:\Program Files\Windows Media Player), and if you find them copy then to the Firefox plugins directory (usually C:\Program Files\Mozilla Firefox\plugins). Then repeat the previous step and check the files are all there.
- <a name="dlldump"></a>If some of the files are still missing, you can download the individual files from dlldump.com:
- npdsplay.dll: http://www.dlldump.com/download-dll-fil ... nload.html (this is the updated version)
- npwmsdrm.dll: http://www.dlldump.com/download-dll-fil ... nload.html
- npdrmv2.dll: http://www.dlldump.com/download-dll-fil ... nload.html
- If the plug-in files still do not appear, try copying them to the Firefox plugins directory (usually C:\Program Files\Mozilla Firefox\plugins).
- Special versions of Windows XP:
- If you use Windows XP Home N or Windows XP Pro N, see Issue 7 in the following section (<a href="#ConfigWMP">Configuring/Troubleshooting the Windows Media Player plugin</a>).
- If you use Windows XP Media Centre Edition, see Issue 12 in the following section (<a href="#ConfigWMP">Configuring/Troubleshooting the Windows Media Player plugin</a>).
- Install this update from Microsoft: http://www.microsoft.com/windows/window ... lugin.aspx
It installs the plug-ins plus some other files.
- Download the thee plug-in files from dlldump.com and place them in Firefox's plug-ins folder (as mentioned above) - this is necessary because the plug-in installer from Microsoft contains older versions of the files, which have un-patched security holes.
<a name="ConfigWMP"></a>Configuring/Troubleshooting the Windows Media Player plugin
Known issues with the WMP plugin and (where applicable) the solution. These only apply to the old plugin.
- If, when playing a video, the video image is either invisible or disappears when you click a control, you need to adjust the plugin settings:
- When the player is active, right-click on it and select 'Options...'
- At the bottom of the window should be a 'Video Acceleration' option. Change it from full to half (or to zero, if needed) by moving the slider.
- Firefox crashes on exit if the WMP plugin has been used (Windows 2000)
- Double-click on the 'My Computer' icon on the desktop, then double-click on 'Control Panel'.
- Double-click on the Java icon to bring up the Java control panel.
- Click on the 'Update' tab, and then the 'Update Now' button.
This problem can sometimes be caused by not having the latest version of the Java plugin.
- <a name="Patch"></a>If the player controls look like they are from an older version of Windows Media Player:
- Right-click this link and save it to your desktop: http://plugindoc.mozdev.org/resources/wmp9.reg
- When it has downloaded, double-click it. A pop-up will ask if you want to add the information in it to the registry - click Yes.
If the registry patch doesn't help, it has been reported that reinstalling Windows Media Player 10 will work.
- The WMP plugin is the same whether you use WMP 6.4, 7, 9, or 10 - this registry patch basically allows Firefox to apply the modern WMP look onto the plugin.
- "Can not create DirectShow Player" error: I have never experienced this error, so I an not clear on why it occurs. It was recently reported that it could be a symptom of this problem: http://support.microsoft.com/?kbid=831430 So try the solutions there first.
Failing that, try reinstalling WMP and installing the latest version of DirectX. Windows XP users with WMP 9 can try upgrading to WMP 10, and WMP 10 users can also try rolling back to WMP 9. It has been reported that booting Windows in Safe Mode, deleting WMP, then reinstalling WMP will solve it. I have not tested this method (having never had the error), so I do not know if it will work and I do not know what possible side-effects manually deleting WMP in this manner could cause. In any case, try the other possible solutions first.
- The players in the test links here have the status bar - it tells you what the player is doing. This is not always the case. Sometimes when you hit play on a player without a status bar, it seems like nothing happens - in fact, the player is probably just downloading enough of the file to start playing it (buffering) and if you give it a moment, it will start.
- Illegal operation in Windows Media Player plugin error. If you find you are getting the following when you try to watch embedded Windows media:
- Code: Select all
Illegal Operation in Plugin
Windows Media Player Plug-in Dynamic Link Library
The plugin performed an illegal operation. You are strongly advised to restart Navigator.
- For users of Windows XP Home N or Windows XP Professional N:
Because of a recent decision by the European Commission, Microsoft have been required to offer these new European versions of Windows XP Home/Pro in addition to the standard verisons, with Windows Media Player and all built-in media playback abilities removed - including the Windows Media Player plugin. The N stands for 'Not with Windows Media Player'.
Because of the scope of the changes, you cannot simply install Windows Media Player to get full functionality back. Microsoft have released an update to convert Windows XP N to regular Windows XP (by restoring all the missing files). Users of Windows XP Home/Pro N will need to install this update to run the Windows Media Player plugin:
http://www.microsoft.com/downloads/deta ... layLang=en
Warning: This cannot be undone. After installing this update, the only way to revert back to Windows XP N will be to re-install Windows.
This update is also available on Windows Update.
- Player appears, player status bar says 'Ready', no error messages, but nothing happens when you click Play.
For the Windows Media Player plugin to work, Internet Explorer must have access to the internet:
- Make sure Internet Explorer is not set to Work Offline mode: To check if IE is in 'Work Offline' mode, open IE and open the File menu. There would be a tick by the 'Work Offline' option. Click it to take IE off Work Offline mode.
- Make sure that Internet Explorer's proxy settings are correct.
- Make sure that Internet Explorer and Windows Media Player are not blocked by your Firewall.
- In WMP, click Tools > Options
- Select 'Network'
- Deselect 'UDP'
- Firefox crashes while typing to play embedded WMV files.
This can be caused by having the VLC Media Player installed, which includes its own browser plugin. This plugin conflicts with the WMP plugin, so you need to remove the VLC plugin for embedded WMV files to play properly.
- Player does not appear, but audio (sometimes)still plays - all plugin files are listed in about:plugins:
- It has recently been reported that under Firefox 1.5, Adblock's OBJ-TABS setting will block the WMP plugin. If you find this happens to you, disable the obj-tabs setting. If that doesn't work, try redownloading the plugin files from dlldump.com as descriped in the <a href="#dlldump">previous section</a>, and placing them in Firefox's plugins folder.
- The VLC Media Player plugin has also been known to do this - remove the VLC plugin.
- Firefox 18.104.22.168 - has a bug that interferes with the WMP plugin. Upgtade to 22.214.171.124.
- Windows XP Media Centre Edition
Windows XP Media Centre Edition does not come with the Windows Media Player plug-ins. In addition, often it appears incapable of supporting them so just restoring the dll files may not work, and the installer for the plug-ins does not recognise XP Media Centre Edition. It has been reported that the update for Windows XP N (XP with no media playback ability, see issue 7) that re-adds the missing media playback files will allow XP Media Centre Edition to support the WMP plug-ins.
Warning:this update cannot be uninstalled. The only way to undo it is to re-install Windows, so attempt at your own risk. The update is here.
<a name="FF_1"></a>ActiveX Plugin (Firefox 1.0-1.0.8, 1.5-126.96.36.199)
Some Embedded/Streaming Media (such as those on launch.com) use an ActiveX Control to embed Windows Media into a web page. ActiveX is what Internet Explorer uses instead of the plugin system adopted by Netscape. Where plugins are essentially sub-programs run within the browser (and so subject to whatever limitations the browser imposes on it), ActiveX controls are Windows programs, and so do not have limits imposed on them and what they are allowed to do. This gives them a lot of poential power over your system, especially coupled with the fact that IE can download and install them automatically and silently for you. The intention was to allow for more complex web page content, but the system can be and has been exploited to install viruses, adware, spyware, and the like. The power of ActiveX can be a big security risk, and is one of the more serious security vulnerabilities in IE. Partly for this reason, Firefox does not come with ActiveX support installed.
There are ActiveX plugins for Firefox avaliable, and this section of the guide gives instructions for installing and testing it. The security issue is bypassed because the plugins for Firefox come pre-configured to only run the Windows Media Player controls. It will simply refuse to download or run any other control, good or bad. This will allow you to view many of the websites that only use ActiveX to embed media.
An alternative to the ActiveX plugin is the Greasemonkey script IE Media Mimic: http://homepage.ntlworld.com/vectorspac ... key/#mimic
Among other things, it can provide partial support for Windows media embedded with ActiveX, by converting the ActiveX object to a regular WMP object. At the time of writing, the author of IE Media Mimic does not consider it user-friendly enough for the average Firefox user, so read the info on its homepage thoroughly before you consider using it.
<a name="InstallAX"></a>Before You begin:
IMPORTANT. If you use the Adblock Extension, you must make sure that the setting for OBJ-TABS is disabled. Otherwise, your system will run almost any ActiveX control. See <a href="#Notes">Note 4</a>.
Before installing the ActiveX plugin, read the following:
- This guide only applies to the official mozilla.org milestone releases of Firefox 1.0 to 1.0.8 and Firefox 1.5 to 188.8.131.52 under Windows.
- There is no ActiveX plugin for Firefox 1.0.5, but the plugin for Firefox 1.0.4 seems to work for it.
- There is no ActiveX plugin for Firefox 1.0.8, but the plugin for Firefox 1.0.7 seems to work for it.
- There is no ActiveX plugin for Firefox 184.108.40.206 to 220.127.116.11, but the plugin for Firefox 1.5 seems to work for them.
- The ActiveX plugin is not compatable with Moox builds. Compatability with other 3rd party builds is unknown.
- For pre-1.0 versions of Firefox (also under Windows), see this earlier version of this guide: http://forums.mozillazine.org/viewtopic.php?t=140828.
- The ActiveX plugin for Firefox 1.5 is marked as a test version - so there may be unknown problems with it.
- Most methods of updating Firefox to a new version do not remove the ActiveX plugin, and there is no guarantee that the plugin version you have will work with the new version of Firefox. It is strongly recommended that you <a href="#Uninstall">uninstall</a> the ActiveX plugin before you update Firefox. Having the wrong version of the ActiveX plugin installed can cause other plugins (especially Flash) to malfunction.
- The Windows Media Player plugin must be installed and working for this to work. Check that the plugin is installed and functioning correctly before proceeding: <a href="#CheckWMP">Checking Windows Media Player plugin installation</a>.
- Depending on which version of Firefox you use, right-click the relevant link and save it to your desktop:
- Firefox 1.0, 1.0.1, or 1.0.2: http://www.iol.ie/~locka/mozilla/mozactivex-ff-10.xpi
- Firefox 1.0.3: http://www.iol.ie/~locka/mozilla/mozact ... -103-2.xpi
- Firefox 1.0.4, or 1.0.5: http://www.iol.ie/~locka/mozilla/mozactivex-ff-104.xpi
- Firefox 1.0.6: http://www.iol.ie/~locka/mozilla/mozactivex-ff-106.xpi
- Firefox 1.0.7, 1.0.8: http://www.iol.ie/~locka/mozilla/mozactivex-ff-107.xpi
- Firefox 1.5 to 18.104.22.168: http://www.iol.ie/~locka/mozilla/mozactivex-ff-15.xpi *The Firefox 1.5 plugin is a test version - it is not known to be problem-free yet.
- Open Firefox, then drag the .xpi file you just downloaded into the Firefox window.
The plugin will appear in the Extensions window while installing, but not once installation is complete. This is normal - even though it installs the same way, this is not an extension and so will not be listed in the Extensions window..
- When the installation is complete, restart Firefox.
- You can test the ActiveX installation on this website: <a href="http://members.aol.com/jrzycrim01/mozilla/wmp/wmpaxtest.html" target="_blank">ActiveX Test - Windows Media Player</a>
If you can play both the audio and video players, then the ActiveX and Windows Media Player plugins are installed correctly.
- If they do not display properly, type about:plugins into the address bar. If the following entry is present, then the ActiveX plugin is installed correctly:
- If this entry is not present, then reinstall the ActiveX plugin.
If the test link in the previous step worked, then the ActiveX plugin is working. So:
- Make sure that it does not want a different media player plugin: http://forums.mozillazine.org/viewtopic.php?t=206216
- Try tricking the website into thinking you are using a different browser: http://forums.mozillazine.org/viewtopic ... 6216#spoof
- Many websites use IE-only techniques other than just ActiveX to embed media. If a site is using too much IE-only code, then Firefox will not be able to play it even after installing ActiveX.
Should you want to uninstall the ActiveX plugin, the process is simple - only four files need to be manually deleted from the Firefox program folder.
- Close all instances of Firefox
- Go to the Firefox program folder (the location you installed Firefox to). The default location in Windows is 'C:\Program Files\Mozilla Firefox\'
- Go into the plugins folder and delete the file 'npmozax.dll'
- Go back to the Firefox program folder, and then go into the components folder, and delete the files 'nsIMozAxPlugin.xpt' & 'nsAxSecurityPolicy.js'.
- Go back to the Firefox program folder, and then go into the defaults\pref folder, and delete the file 'activex.js'.
Note 1. With certain versions of ActiveX installed, sometimes the Flash plugin will not load unless it was previously loaded.
A work-around is to refresh your plugins (type about:plugins in your address bar) when starting FireFox, under those circumstances everything loads normally.
Note 3. AnonEmoose has tested Yahoo/Launch Radio, and believes it does NOT work with Firefox
Note 4. For some reason, the OBJ-TABS setting in the Adblock Extension interferes with the ActiveX plugin. The activex.js file that is installed with the plugin determines which controls the plugin may and may not run. If the OBJ-TABS setting is enabled, then the ActiveX plugin will ignore activex.js and run any control.
Note 5. IE has a function whereby if you are downloading a video file (such as through a link), it can have WMP play the file as it is downloading. There are methods of duplicating this behaviour in Firefox here: http://forums.mozillazine.org/viewtopic ... 216#stream
Note 6. If you ever have trouble finding any files on your computer, make sure you have enabled the viewing of hidden files and folders in Windows folder options.
Note 7. If you ever have trouble playing media at a site that is reported to work in Firefox when using this method, try clearing all cookies set by that site, then re-trying. In addition, make syre that cookies for the site in question are not blocked (the Adblocker extension could also do this).
If, after following the guide, Embedded Windows Media still won't play properly, then recheck that the <a href="#CheckWMP">Windows Media Player plugin files</a> and the <a href="#CheckAX">ActiveX plugin file</a> are installed, and that the issue is not documented in the <a href="#ConfigWMP">Configuring/Troubleshooting the Windows Media Player plugin</a> section.
If you are still unable to resolve any issues, ask for help here in the Mozilla Firefox Support forum. Say that you followed this guide and include the following information:
- Windows Version
- Firefox Version
- Windows Media Player version
- Difficulties with any of the above steps
- Whether or not the players on the <a href="#CheckWMP">WMP Test Page</a> and/or the <a href="#TestAX">ActiveX Test Page</a> work
- A link to a page with embedded media that doesn't work properly (if applicable)
- Any received error messages (if applicable)
- If the player loads but doesn't play, right-click on the player. Is 'Properties' greyed out?
- If the player loads but doesn't play, right-click on the player. Is 'Error Details' greyed out? If not, click on it and supply the information you see.
- Any other relevant information
keywords: ActiveX Active-X plugin Windows Media Player Mediaplayer WMP 6.4 7 9 10 stream streaming embed embedded embedding video mp3 wmv wma asf asx
Thanks to AnonEmoose for letting me cannibalise his guide, Adam Lock for his ActiveX plugins, Chris Pederick for his User Agent Switcher Extension, _Jim_ for his ActiveX test page, and rtmjr50 for his input and help.