Click to See Complete Forum and Search --> : Sound File


Sonia
10-13-2003, 03:43 AM
If I've embeded a sound file in my web page using the following code: <embeb src = "sound.wav">.
How can I choose which application I want it to play in.
i.e. for e.g if I want the music to play in Quick Time Player instead of the usual one like Media Player.

lillu
10-13-2003, 04:35 AM
The <embed> tag tells the browser that a plug-in is needed to play the file.

It depends on the file extension to play a particular media. <embed src="sound.mov" width="216" height="16"></embed> provided the user has the plugin (in this case, QuickTime to play .mov or any other player that can handle .mov file format).
If they dont have the player on their machine, you can make them download it.

By all means, I would not use <embed>. It's not standard. I would simply use a link to my file to play.

<A HREF="http://www.yoursite.com/filename.wav"> Click Here</A>

There's a fat chance that the user's browser itself can play the file. (just think of IE's built in media player control)