Detecting Media Player Using BrowserObjectâ„¢ Server Component
If you own an online music store, audio streaming will be at the heart of your
website. Instead of the connection speed of your hosting, you should be more
worried whether all visitors are able to listen to your demonstration clips.
The most common media players for video/audio streaming include Windows Media
Player, Apple QuickTime, and RealPlayer. However, not every visitor will have
these media players installed. For example, you may provide audio streaming for
only RealPlayer but the visitor may only have Windows Media Player installed.
As a result, the visitor cannot listen to the demonstration clip at all.
To avoid the loss of visitors, you can prepare 3 types of media files for each
demonstration clip that you have. Then, the media player detection from
BrowserObject.com will play a very important role to help you determine what
type of media players the visitors have installed on their machines.
By using media player detection from the BrowserObject Server Component, you
can detect whether visitors have Windows Media Player installed. If yes, you
can display a Windows Media Player supported file. If no, you still have the
option to determine whether visitors have QuickTime installed. If visitors have
QuickTime installed, you can display the QuickTime media file. If both Windows
Media Player and QuickTime are not installed, you can still check for
RealPlayer installation and if it is installed, you can display a
Real media file. In the worst case when visitors do not have any media
player installed, you can still prompt them to download any of the media
players that are available.