The height parameter isn't required, but leaving it out causes the player to resize as it's loading, creating an ugly experience for your listener. Since you are using the Showcontrols parameter, keep in mind your player height should be 46 pixels to accommodate the height of the files. Some optional parameters include showing the Windows Media Player controls and whether the audio starts automatically. The one required parameter is the location of your audio file, which is defined using the "filename" parameter:
For the 6.4 version of the embedded player this looks like the example below: This is identified by both the CLSID reference and the CODEBASE definition. Each embedded player instance on your Web page needs the object definition to clarify which version of the Windows Media Player will be called. There are certain things every embedded Windows Media Player needs to function properly, along with a long list of optional parameters. For broad compatibility with all browsers, it's best to stick with the version 6.4 embedded player (which has nothing to do with the version of desktop player the user might have installed). Internet Explorer handles embedded Windows Media files nicely, which is to be expected since it's also a Microsoft product. Mac users don't have Windows Media Player installed by default and Safari issues a nasty warning message with no link to the resolution on Macs without Windows Media Player. There are some potential headaches to this method, including support for browsers like Firefox and Safari.
#Windows media player mac firefox code
This requires some specific HTML code included in the page or blog post where the audio is linked. To stream your audio file with visible Windows Media Player controls, you need to embed the player in the page where you post your audio file. When you offer a direct download, users click on a link to the audio file and either view the video in their desktop Windows Media Player or save it to their hard drive. If your audio file is a WMA or MP3 file, there are a few simple steps to linking your audio to Windows Media Player controls imbedded in the browser.
#Windows media player mac firefox how to
Enabling audio playback from the familiar audio playback experience of the Windows Media Player play controls helps get some listeners past the hurdle of figuring out how to tune in. It's definitely smart to make your audio offerings available for subscription via RSS and direct download via a Website link.