MozillaZine

Windows Media Player

From MozillaZine Knowledge Base

(Difference between revisions)
Revision as of 21:04, 28 March 2005
Vectorspace (Talk | contribs)
(External Links)
<-- Previous diff
Revision as of 06:18, 29 March 2005
Asqueella (Talk | contribs)

Next diff -->
Line 1: Line 1:
== Warnings == == Warnings ==
* If you use the [[Adblock]] extension, you need to disable the Obj-Tabs setting. Otherwise, the ActiveX plugin will run almost any ActiveX control regardless of how it is configured. * If you use the [[Adblock]] extension, you need to disable the Obj-Tabs setting. Otherwise, the ActiveX plugin will run almost any ActiveX control regardless of how it is configured.
-* Each verion of the ActiveX plugin is only compatable with a small number of browser versions. If you install it in a browser that it is not compatable with, the plugin will not function properly and you will likely experience conflicts with the Flash plugin.+* Each version of the ActiveX plugin is only compatable with a small number of browser versions. If you install it in a browser that it is not compatable with, the plugin will not function properly and you will likely experience conflicts with the [[Flash plugin]].
-* When you update your browser, the plugin will often remain and will be installed in the updaqted version too. If you update to a version that is not compatable with the version of the ActiveX plugin you had, the plugin will stop working properly and you will likely experience conflicts with the Flash plugin.+* When you update your browser, the plugin will often remain and will be installed in the updated version too. If you update to a version that is not compatable with the version of the ActiveX plugin you had, the plugin will stop working properly and you will likely experience conflicts with the Flash plugin.
== Installation == == Installation ==
-: ''For Windows users running a recent version of Mozilla only.''+=== For Windows users running Firefox 1.0 - 1.0.2 only ===
 +* Install the [http://www.iol.ie/~locka/mozilla/plugin.htm#download Mozilla ActiveX Plug-in for Firefox 1.0]. ([[ActiveX |More information about the ActiveX control]].) It is pre-configured to only run the Windows Media Player controls.
 +=== For Windows users running a recent version of Mozilla Suite only ===
* Install the [http://www.iol.ie/~locka/mozilla/plugin.htm#download Mozilla ActiveX Plug-in]. ([[ActiveX |More information about the ActiveX control]].) * Install the [http://www.iol.ie/~locka/mozilla/plugin.htm#download Mozilla ActiveX Plug-in]. ([[ActiveX |More information about the ActiveX control]].)
* Download this [ftp://ftp.netscape.com/pub/netscape7/english/7.2/windows/win32/bfkprv/browser.xpi browser.xpi] file. (Do not click on the link. Instead, right-click it and select "Save Link As...".) Rename it to <tt>browser.zip</tt>, open the ZIP file, and extract the <tt>npmozax.dll</tt> file to your Firefox <tt>plugins</tt> folder (usually <tt>C:\Program Files\mozilla.org\Mozilla\plugins</tt>). It will be located within the ZIP file under the ZIP's <tt>plugin</tt> folder. [http://forums.mozillazine.org/viewtopic.php?p=818017#818017] * Download this [ftp://ftp.netscape.com/pub/netscape7/english/7.2/windows/win32/bfkprv/browser.xpi browser.xpi] file. (Do not click on the link. Instead, right-click it and select "Save Link As...".) Rename it to <tt>browser.zip</tt>, open the ZIP file, and extract the <tt>npmozax.dll</tt> file to your Firefox <tt>plugins</tt> folder (usually <tt>C:\Program Files\mozilla.org\Mozilla\plugins</tt>). It will be located within the ZIP file under the ZIP's <tt>plugin</tt> folder. [http://forums.mozillazine.org/viewtopic.php?p=818017#818017]
-* It it also recommended that you edit <tt>activex.js</tt> and replace it with the text below to enable only Windows Media Player to run (unless you need to run other ActiveX controls). Normally, <tt>activex.js</tt> is located in <tt>C:\Program Files\mozilla.org\Mozilla\defaults\pref\</tt>.+* '''It it also recommended that you edit <tt>activex.js</tt> and replace it with the text below to enable only Windows Media Player to run''' (unless you need to run other ActiveX controls). Normally, <tt>activex.js</tt> is located in <tt>C:\Program Files\mozilla.org\Mozilla\defaults\pref\</tt>.
pref("general.useragent.vendorComment", "ax"); pref("general.useragent.vendorComment", "ax");
pref("security.xpconnect.activex.global.hosting_flags", 9); pref("security.xpconnect.activex.global.hosting_flags", 9);
Line 15: Line 17:
pref("capability.policy.default.ClassID.CID6BF52A52-394A-11D3-B153-00C04F79FAA6", "AllAccess"); pref("capability.policy.default.ClassID.CID6BF52A52-394A-11D3-B153-00C04F79FAA6", "AllAccess");
pref("capability.policy.default.ClassID.CID22D6F312-B0F6-11D0-94AB-0080C74C7E95", "AllAccess"); pref("capability.policy.default.ClassID.CID22D6F312-B0F6-11D0-94AB-0080C74C7E95", "AllAccess");
- 
-: ''For Windows users running Firefox 1.0 - 1.0.2 only.'' 
-* Install the [http://www.iol.ie/~locka/mozilla/plugin.htm#download Mozilla ActiveX Plug-in for Firefox 1.0]. ([[ActiveX |More information about the ActiveX control]].) It is pre-configured to only run the Windows Media Player controls. 
== Uninstall == == Uninstall ==
* Close all instances of your browser. * Close all instances of your browser.
* Go to the program folder (the location you installed your browser to to). * Go to the program folder (the location you installed your browser to to).
-Firefox's default location: <tt>C:\Program Files\Mozilla Firefox\</tt>+:Firefox's default location: <tt>C:\Program Files\Mozilla Firefox\</tt>
-Mozilla's default location: <tt>C:\Program Files\mozilla.org\Mozilla\</tt>+:Mozilla Suite's default location: <tt>C:\Program Files\mozilla.org\Mozilla\</tt>
-* Go into the plugins folder and delete the file <tt>npmozax.dll</tt>.+* Go into the <tt>plugins</tt> folder and delete the file <tt>npmozax.dll</tt>.
-* Go back to the program folder, and then go into the components folder, and delete the files <tt>nsIMozAxPlugin.xpt</tt> & <tt>nsAxSecurityPolicy.js</tt>.+* Go back to the program folder, and then go into the <tt>components</tt> folder, and delete the files <tt>nsIMozAxPlugin.xpt</tt> and <tt>nsAxSecurityPolicy.js</tt>.
-* Go back to the Firefox program folder, and then go into the <tt>defaults\pref folder</tt>, and delete the file <tt>activex.js</tt>.+* Go back to the program folder, and then go into the <tt>defaults\pref</tt> folder, and delete the file <tt>activex.js</tt>.
== Addendums == == Addendums ==
* The [http://www.iol.ie/~locka/mozilla/plugin.htm#download ActiveX Plug-in for Firefox 1.0] is pre-configured to only run the Windows Media Player controls. To make it run other controls, you will need to edit <tt>activex.js</tt>. Normally, <tt>activex.js</tt> is located in <tt>C:\Program Files\Mozilla Firefox\defaults\pref\</tt>. * The [http://www.iol.ie/~locka/mozilla/plugin.htm#download ActiveX Plug-in for Firefox 1.0] is pre-configured to only run the Windows Media Player controls. To make it run other controls, you will need to edit <tt>activex.js</tt>. Normally, <tt>activex.js</tt> is located in <tt>C:\Program Files\Mozilla Firefox\defaults\pref\</tt>.
* To get Yahoo! Launch to work, you need to [[User agent | spoof your user agent]] as a Netscape 4.x or a Netscape 7.1 browser. * To get Yahoo! Launch to work, you need to [[User agent | spoof your user agent]] as a Netscape 4.x or a Netscape 7.1 browser.
-* For ''some'' versions of the ActiveX plugin, the [[Flash | Flash plugin]] will not load unless it was already loaded after you install the ActiveX plugin. You will need to reload the plugins by typing <tt>about:plugins</tt> into your Location Bar upon starting Firefox.+* For ''some'' versions of the ActiveX plugin, the [[Flash plugin]] will not load unless it was already loaded after you install the ActiveX plugin. You will need to reload the plugins by typing <tt>about:plugins</tt> into your Location Bar upon starting Firefox.
-* The Mozilla ActiveX Plug-in comes with a <tt>npmozax.dll</tt> plugin, but if you use Mozilla it is recommended that you use the one in Netscape's <tt>browser.xpi</tt>.+* The Mozilla ActiveX Plug-in comes with a <tt>npmozax.dll</tt> plugin, but if you use Mozilla Suite it is recommended that you use the one in Netscape's <tt>browser.xpi</tt>.
* The version in Netscape's <tt>browser.xpi</tt> is not compatable with Firefox versions 1.0PR and newer. * The version in Netscape's <tt>browser.xpi</tt> is not compatable with Firefox versions 1.0PR and newer.

Revision as of 06:18, 29 March 2005

Contents

Warnings

  • If you use the Adblock extension, you need to disable the Obj-Tabs setting. Otherwise, the ActiveX plugin will run almost any ActiveX control regardless of how it is configured.
  • Each version of the ActiveX plugin is only compatable with a small number of browser versions. If you install it in a browser that it is not compatable with, the plugin will not function properly and you will likely experience conflicts with the Flash plugin.
  • When you update your browser, the plugin will often remain and will be installed in the updated version too. If you update to a version that is not compatable with the version of the ActiveX plugin you had, the plugin will stop working properly and you will likely experience conflicts with the Flash plugin.

Installation

For Windows users running Firefox 1.0 - 1.0.2 only

For Windows users running a recent version of Mozilla Suite only

  • Install the Mozilla ActiveX Plug-in. (More information about the ActiveX control.)
  • Download this browser.xpi file. (Do not click on the link. Instead, right-click it and select "Save Link As...".) Rename it to browser.zip, open the ZIP file, and extract the npmozax.dll file to your Firefox plugins folder (usually C:\Program Files\mozilla.org\Mozilla\plugins). It will be located within the ZIP file under the ZIP's plugin folder. [1]
  • It it also recommended that you edit activex.js and replace it with the text below to enable only Windows Media Player to run (unless you need to run other ActiveX controls). Normally, activex.js is located in C:\Program Files\mozilla.org\Mozilla\defaults\pref\.
pref("general.useragent.vendorComment", "ax");
pref("security.xpconnect.activex.global.hosting_flags", 9);
pref("security.classID.allowByDefault", false);
pref("capability.policy.default.ClassID.CID6BF52A52-394A-11D3-B153-00C04F79FAA6", "AllAccess");
pref("capability.policy.default.ClassID.CID22D6F312-B0F6-11D0-94AB-0080C74C7E95", "AllAccess");

Uninstall

  • Close all instances of your browser.
  • Go to the program folder (the location you installed your browser to to).
Firefox's default location: C:\Program Files\Mozilla Firefox\
Mozilla Suite's default location: C:\Program Files\mozilla.org\Mozilla\
  • Go into the plugins folder and delete the file npmozax.dll.
  • Go back to the program folder, and then go into the components folder, and delete the files nsIMozAxPlugin.xpt and nsAxSecurityPolicy.js.
  • Go back to the program folder, and then go into the defaults\pref folder, and delete the file activex.js.

Addendums

  • The ActiveX Plug-in for Firefox 1.0 is pre-configured to only run the Windows Media Player controls. To make it run other controls, you will need to edit activex.js. Normally, activex.js is located in C:\Program Files\Mozilla Firefox\defaults\pref\.
  • To get Yahoo! Launch to work, you need to spoof your user agent as a Netscape 4.x or a Netscape 7.1 browser.
  • For some versions of the ActiveX plugin, the Flash plugin will not load unless it was already loaded after you install the ActiveX plugin. You will need to reload the plugins by typing about:plugins into your Location Bar upon starting Firefox.
  • The Mozilla ActiveX Plug-in comes with a npmozax.dll plugin, but if you use Mozilla Suite it is recommended that you use the one in Netscape's browser.xpi.
  • The version in Netscape's browser.xpi is not compatable with Firefox versions 1.0PR and newer.

External Links

  • MozillaZine Forums threads on the subject:

Original post written by Vectorspace, applies to Firefox 0.8.

Updated guide writen by AnonEmoose, applies to Firefox 0.9 and 1.0PR.

Latest guide written by Vectorspace, applies to Firefox 1.0, 1.0.1, and 1.0.2.

Launch.com guide written by Vectorspace, based on AnonEmoose's guide.