Forum Moderators: open
You can also embed a player within your site.
Setting music to play automatically is a definite no-no. The visitor may be in an environment where they don't want music playing, they may be listening to their own music, they may be listening to the radio. Media files will gobble up your bandwidth and visitors on slow connections will be annoyed when they cut in well after the rest of the page has downloaded.
I made a .gif image for upcoming Halloween for the visitors of my blog and made a special page for that. What kind of flash widgets shall I look for (like shall I look for flash widgets for midi files?).
A simple link will play the file with whatever program the visitor has mapped to that file extension.
This would have been more than sufficient for me. In case its not mapped I don't want the visitors to download the file.
<embed src= "http://www.odeo.com/flash/audio_player_standard_gray.swf" quality="high" width="300" height="52" allowScriptAccess="always" wmode="transparent" type="application/x-shockwave-flash" flashvars= "valid_sample_rate=true&external_url=[MP3 file address]" pluginspage="http://www.macromedia.com/go/getflashplayer"> </embed>
so it would look like this
<embed src= "http://www.odeo.com/flash/audio_player_standard_gray.swf" quality="high" width="300" height="52" allowScriptAccess="always" wmode="transparent" type="application/x-shockwave-flash" flashvars= "valid_sample_rate=true&external_url=http://www.yourdomain.com/song1.mp3" pluginspage="http://www.macromedia.com/go/getflashplayer"> </embed>
Its pretty simple.. but nicely effective.
Credits too
[googlesystem.blogspot.com...]