Jump to content

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

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

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.

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
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...