Thread: Music Files
Results 1 to 3 of 3
09-03-2003, 02:31 PM #1
I want to set up a page so that users can hear samples of songs from a CD.
I can do it by making series of buttons to load a new page that autostarts a .wav file but this is probably not the best way. So some questions are:
1. What is the best method?
2. What is the best music file format to use (quality vs size, also most universal)?
3. How can I ensure a file only downloads when user wants it to?
All sugestions welcome.
09-03-2003, 05:03 PM #2
a wav or mp3 woruld work. I see nothing wrong with just creating a basic link to the file.
09-04-2003, 06:50 AM #3
I use this code a lot:
<object id="MediaPlayer" width=320 height=286
standby="Loading Microsoft® Windows® Media Player components..."
<PARAM NAME="filename" VALUE="interview_fox_video.asx">
<PARAM NAME="autoStart" VALUE="true"> <PARAM NAME="showControls" VALUE="true">
<param name="ShowStatusBar" value="true"> <PARAM NAME="Autorewind" VALUE="true">
<PARAM NAME="ShowDisplay" VALUE="false">
<EMBED SRC="interview_fox_video.asx" WIDTH=320 HEIGHT=286 type="application/x-mplayer2" name=MediaPlayer autostart=1 showcontrols=0 showstatusbar=1 autorewind=1 showdisplay=0>
Just change the source (interview_fox_video.asx) in BOTH places to the path of yours. You can also change the dimensions.
If they want to download it - you can place a link & suggest they right click & save as. Depending on how they might have their browser set up - it might just open their default player if they click on it.
A WMA is really small, but will not work in Netscape or on a MAC. You can also use a MOV (Quicktime). A lot usually give you the choice between what format. This would help to cut down on your bandwidth some.