Browser playback is compromised by the browser opening a new window with advertising, and then spawning a popup with still more ads when the player closes. We need a little utility that lets the user select a Media Player, then opens an audio file cleanly with no ad popup window.

Selecting a Media Player at Audible.com and at BlogRadio.org.

   

Here's an example of choosing a Media Player at BlogRadio.com. (Click on the speaker icon.) If you do not have a particular media player, you will be prompted to download it and install it.

Slugger O'Toole Choose a media player

Here's the javascript that invokes this choice of media player. You also need some middleware code on the server

<a href=""
onClick="window.open('http://app.skybuilders.com/timelines/mp3Handler.html?MP3URL=http://media.skybuilders.com/lydon/slugger.mp3','','resizable,height=60,width=290,left=100,top=100',true); return false">
<img src="http://media.skybuilders.com/Lydon/Images/SpeakerSmall.gif" border="0" alt="Choose a media player"><a/>

Alternatively, we can open audio in the same window by setting the Media Player size attributes to height="0" and width="0", but then no controls appear to pause and stop the audio.

Edit  |  workFlow  |  Subscribe (2)  |
 Comments (0)
Language: fr  | it  | de  | es  | pt  | ar  | he  | da  | nl  | zh  | ja  | ko  | none 
Authors: Admin, bobdoyle
skyCalendar

This Version:
Archived at: http://www.blogaudio.org/ChooseMediaPlayer.20031009201338.html

Requests
 Version: 16192 | Series: 16192 

Search: Site | Web | Groups