I wanted to place music on my site. I know the code and it works. May I know should I upload the music together? :P
I wanted to place music on my site. I know the code and it works. May I know should I upload the music together? :P
how can you play music w/o the music file?
Well, you would either have to use the link from a streaming source, or upload the sound... i've never worked with background songs, but from what the tag is, i assume it's the same as embedding video...
:)
ok .. let us see i only tries this code for .wma and .mp3Code:<embed src="the_name_of_ur_song.wma" autostart="true" loop="true" hidden> </embed>
src =
here u must put the linkof the music that u want to play .. like "http://urname.bizhat.com/thesong.wma"
autostart =
false if you dont wanna the song to play auto
true for yes
when the page loaded it will auto play the song if it true
loop =
same as auto
cotinues play means play the song over and over again write yes
flase for just one time
hidden
so no one can see the window media player .. it is best to haidden it . better look for your website
tell me if it works :roll:
Thanks for al your help! :P
If you don't want the windows media player to show up, go to <bgsound src=music/music.wma loop=-1 autostart=true>
both
andCode:<embed src="the_name_of_ur_song.wma" autostart="true" loop="true" hidden></embed>
are correct!Code:<bgsound src=music/music.wma loop=-1 autostart=true>
<embed> is support by Firefox and Netscape and require the size and show up
<bgsound> is support only in IE and always "hidden"
Thank you 'lost-strange' and "CFE_aAa_FeLoNy" (my man)... :D
I believe in the fact that a website created should be useful to all. If you use .wma people browsing from linux machine will be having hard time, and also the file size is too big. Better use a good midi file, and that should give you a good background music, w/o much bandwidth consumption
but midi not always a nice thing to play ??! and the size of wma is not that big (depend on the song) ! ..
i prefer .wma more than .ram or .rm
does it effect on the bandwidth ?
you will understand the effect of a larger song file on a modem connection.
Bookmarks