Compare Revisions

Play Windows Media files in Firefox with the Windows Media plugin

Revision 10815:

Revision 10815 by AliceWyman on

Revision 11168:

Revision 11168 by AliceWyman on

Keywords:

Windows Media Flip4Mac Mplayer plugin
Flip4Mac Mplayer gecko

Search results summary:

This article describes how to check for and install the Windows Media Player plugin on Windows XP and above. Windows Media Player used to be available for the Mac platform, but is no longer supported by Microsoft. In its place, '''Flip4Mac''' adds Windows Media playback capabilities to Quicktime. "Mplayer" is a popular Linux media player that can play back Windows Media files.
This article describes how to check for and install the Windows Media Player plugin on Windows XP and above. Windows Media Player used to be available for the Mac platform, but is no longer supported by Microsoft. In its place, '''Flip4Mac''' adds Windows Media playback capabilities to QuickTime. "Mplayer" is a popular Linux media player that can play back Windows Media files.

Content:

{for win} 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 and above. XP users may already have the old plugin, but the new plugin is recommended. {note}'''Note: Even if you already have Windows Media Player installed, you may still be missing the plugin required to play back Windows Media audio and video embedded in Web Pages.'''{/note} __TOC__ = Checking if the plugin is installed = To see if you already have the plugin installed: # [[T:Open Add-ons|type=Plugins]] # Scroll down the list, and look for the entry called: <br/>'''Microsoft® Windows Media Player Firefox Plugin'''<br/> {filepath np-mswmp.dll} <br/> <br/>[[Image:4ea1ffcef1c2de161bb9383b00a54878-1267772823-918-1.jpg]]<br/> #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 [http://port25.technet.com/pages/windows-media-player-firefox-plugin-download.aspx 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 {menu File} menu at the top of the Firefox window, and select {menu Exit}. ## When Firefox has completely closed, start Firefox up again. {/for} {for mac} 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. For information on Quicktime, see the [[Using the Quicktime plugin with Firefox]] article. = Installation = Download and install '''Flip4Mac''' from the official website: [http://www.flip4mac.com/wmv_download.htm] <br/>The website includes more detailed installation and usage instructions. {/for} {for linux} '''Mplayer''' is a popular Linux media player that can play back Windows Media files. In order to use Mplayer to play a Windows Media stream in Firefox, you must install two packages, named [http://code.google.com/p/gnome-mplayer gnome-mplayer] and [http://code.google.com/p/gecko-mediaplayer gecko-mediaplayer]. Your Linux distribution may have these packages readily available to install. {/for} == Testing the plugin == The following link is to a test page that requires the Windows Media Player plugin. If the player loads and plays, then the plugin is installed correctly: *[http://hg.mozilla.org/qa/litmus-data/raw-file/tip/firefox/plugins/mediaplayer.html Windows Media test] {for mac,fx4}{note}'''Note:''' On Mac OS X 10.6 "Snow Leopard", Firefox runs in 64-bit mode by default. If you see a yellow notification bar with the message, ''This page requires a plugin that can only run in 32-bit mode'', you will need to click the {button Restart in 32-bit mode} button to restart Firefox, before the media will play. {/note} {/for} {for win} = 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 [[Using the QuickTime plugin with Firefox|QuickTime]] article. As an alternative, the [http://userscripts.org/scripts/show/4278 IE Media Mimic] user script (for use with the [https://addons.mozilla.org/firefox/addon/748 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) *-Internet Explorer uses [http://en.wikipedia.org/wiki/ActiveX ActiveX] to embed other applications within itself, whereas most other browsers use the [http://en.wikipedia.org/wiki/NPAPI NPAPI] plugin system, as Firefox does. + +Internet Explorer uses the Windows Media Player ActiveX control to play any file type that Windows Media Player itself can play - this includes wav, mpeg, mp3, etc. + +The NPAPI plugin system is fundamentally different: Each plugin lists the file types it can play, and the browser uses these lists to choose a plugin for a particular file. + +The Windows Media Player plugin only lists the Windows Media formats: asf, asx, wm, wma, wax, wmv, wvx. It does not play wav, mp3, mpeg, or other common formats unless the web page is very specifically crafted. + +QuickTime is the only Windows browser plugin that can be configured to play formats like mp3, mpeg, wav, etc. + +The IE Media Mimic user script modifies how the media is embedded so that it requests the Windows Media Player plugin every time for most file types. In its default configuration, the user must manually trigger it - it will not convert the page automatically. === 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 Windows XP and above) 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) *-The original Windows Media Player plugin included with Windows versions up to XP Home/Professional does not support JavaScript controls. Most of these web pages therefore were specifically written to use these features on the Windows Media Player ActiveX Control. ActiveX objects are ignored in Firefox by design, as it does not have ActiveX support. + +For it to work in Firefox, either the object must be created differently depending on the browser used, or a second object is needed and the JavaScript controls must be intelligent enough to know which object to use. === 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 [http://userscripts.org/scripts/show/4278 IE Media Mimic] user script can also correct many kinds of IE-only coding. == ActiveX == [http://en.wikipedia.org/wiki/ActiveX ActiveX] is the system Internet Explorer uses in place of the [http://en.wikipedia.org/wiki/NPAPI 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. {/for} <!-- MZ credit --> <br/> <br/> '''''Based on information from [http://kb.mozillazine.org/Windows_Media_Player Windows Media Player (mozillaZine KB)]'''''
{for win} 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 and above. XP users may already have the old plugin, but the new plugin is recommended. {note}'''Note: Even if you already have Windows Media Player installed, you may still be missing the plugin required to play back Windows Media audio and video embedded in Web Pages.'''{/note} {/for} {for mac} Windows Media Player used to be available for the Mac platform, but is no longer supported by Microsoft. '''Flip4Mac''' is the replacement of choice - it adds Windows Media playback capabilities to Quicktime. {/for} {for linux} '''Mplayer''' is a popular Linux media player that can play back Windows Media files. In order to use Mplayer to play a Windows Media stream in Firefox, you must install two packages, named [http://code.google.com/p/gnome-mplayer gnome-mplayer] and [http://code.google.com/p/gecko-mediaplayer gecko-mediaplayer]. Your Linux distribution may have these packages readily available to install. {/for} __TOC__ {for win} = Checking if the plugin is installed = To see if you already have the plugin installed: # [[T:Open Add-ons|type=Plugins]] # Scroll down the list, and look for the entry called: <br/>'''Microsoft® Windows Media Player Firefox Plugin'''<br/> {filepath np-mswmp.dll}{for not fx35}<br><br>[[Image:WMP - Win1]]<br>{/for}{for fx35}<br><br>[[Image:4ea1ffcef1c2de161bb9383b00a54878-1267772823-918-1.jpg]]<br>{/for} #If the entry is present, then the plugin is installed. #If the entry is missing, proceed to the Installing the plugin section. = Installing the plugin = #Go to the [http://port25.technet.com/pages/windows-media-player-firefox-plugin-download.aspx 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: ##[[T:closeFirefox]] ## When Firefox has completely closed, start Firefox up again. {/for} {for mac} = Installation = Download and install the '''Flip4Mac''' WMV Components for QuickTime from the [http://www.telestream.net/flip4mac-wmv/overview.htm Flip4Mac website]. The website includes more detailed installation and usage instructions. For information about QuickTime, see the [[Using the QuickTime plugin with Firefox]] article. {/for} = Testing the plugin = The following link is to a test page that requires the {for win,linux}Windows Media Player{/for}{for mac}Flip4Mac{/for} plugin. If the player loads and plays, then the plugin is installed correctly: *[http://hg.mozilla.org/qa/litmus-data/raw-file/tip/firefox/plugins/mediaplayer.html Windows Media test] {for mac,not fx35}{note}'''Note:''' On Mac OS X 10.6 "Snow Leopard", Firefox runs in 64-bit mode by default. If you see a yellow notification bar with the message, ''This page requires a plugin that can only run in 32-bit mode'', you will need to click the {button Restart in 32-bit mode} button to restart Firefox, before the media will play. {/note} {/for} =Enabling or disabling the plugin= You can disable or enable the {for win,linux}Windows Media Player{/for}{for mac}Flip4Mac{/for} plugin in the Firefox Add-ons Manager. #[[T:Open Add-ons|type=Plugins]] #In the list of plugins, select the {for win,linux}Windows Media Player{/for}{for mac}Flip4Mac{/for} plugin. #*If you want to disable the plugin, click the {button Disable} button. #*If you want to re-enable the plugin, click the {button Enable} button. If the plugin is disabled, pages with embedded Windows Media such as the "Windows Media test" linked above will not work and, if you download a Windows Media file, Firefox will ask you what to do with the file instead of automatically opening it in Firefox. =Links to media files= The Windows Media formats handled by the plugin include asf, asx, wm, wma, wax, wmv, and wvx. When you click on a link to download a Windows Media file and the plugin is enabled, it will open automatically in Firefox using the plugin. If you do not want this to happen, you can select a different download action in your Firefox Application settings for Windows Media files. For more information, see [[Managing file types]]. =Troubleshooting= If you are having problems with Windows Media content, see [[Video or audio does not play]]. <!-- MZ credit --> <br/> <br/> '''''Based on information from [http://kb.mozillazine.org/Windows_Media_Player Windows Media Player (mozillaZine KB)]'''''

Back to History