Jump to content
Sign in to follow this  
nastey

Sounds in html

Recommended Posts

I want to put a sound from my hard drive, to the web! I realy do not know how to uploat the audio file in the html code, and then, when it is uploaded on the web page, to listen to it. Let it be a hyperlink or something. please write the code and send me! But, how shall i put the source from the audio file? How will the page that i upload the sound know where is the direction on that file? My question was how will the page recognize the file that i have to upload in the code? so if you please, tell me how to put a file from hard disk, or from some web page! will u please write me some code? is that with the tag url or something?thanks

Share this post


Link to post
Share on other sites

But, how shall i put the source from the audio file? How will the page that i upload the sound know where is the direction on that file? My question was how will the page recognize the file that i have to upload in the code? so if you please, tell me how to put a file from hard disk, or from some web page! will u please write me some code? is that with the tag url or something?thanks

Share this post


Link to post
Share on other sites

If you have a sound called mysound.mp3 you would upload it and the page to the same folder then use this code on the page.

<bgsound src="mysound.mp3" loop="5"

That code will play the sound 5 times. you can replace 5 with any number or INFINITE if you want it to loop forever.

Share this post


Link to post
Share on other sites

most free hosts will not let you upload sounds or movies because they eat a lot of bandwidth

Share this post


Link to post
Share on other sites
Do you know any good place I can upload music and sounds?By the way *screams* Bravehost doesn't let you upload .mp3 unless you pay :)
Rename the .mp3 file to a .txt file then upload it and rename back to .mp3Of course that is only for educational purposes. K

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×