There are two options to letting your visitors listen to sound from your site.
1] You can simply link to the file, and when the visitor clicks, the sound will download and play.
like easy code that anyone can do
<a href="the location of the audio file">Listen to My Song</a>
2] You can embed the sound on your site to auto play when the page loads.
The HTML tag that plays music from a website is the >EMBED< tag. Inside the embed tag, you need to define several things (attributes).
=)the source or location of the file
SRC="the location of the audio file"
=)whether you want the sound to start automatically when the page loads
AUTOSTART="true or false"
3)whether you want the sound to play continuously (repeat or loop)
LOOP="true or false"
4)whether the panel is visible or not on your site (this is where I recommended to leave it visible so people can turn it off)
HIDDEN="true or false"
5)if the panel is visible (not hidden), the size of it.
WIDTH="145" HEIGHT="30"
Here is a sample bit of code that has all of the attributes included:
<EMBED SRC="mysong.mid" AUTOSTART="true" LOOP="true" HIDDEN="false" WIDTH="145" HEIGHT="30"></embed>
So now you can edit any music on site or even on FORUM ....Just be aware of copyright problem for sure.
Hope might help
1] You can simply link to the file, and when the visitor clicks, the sound will download and play.
like easy code that anyone can do
<a href="the location of the audio file">Listen to My Song</a>
2] You can embed the sound on your site to auto play when the page loads.
The HTML tag that plays music from a website is the >EMBED< tag. Inside the embed tag, you need to define several things (attributes).
=)the source or location of the file
SRC="the location of the audio file"
=)whether you want the sound to start automatically when the page loads
AUTOSTART="true or false"
3)whether you want the sound to play continuously (repeat or loop)
LOOP="true or false"
4)whether the panel is visible or not on your site (this is where I recommended to leave it visible so people can turn it off)
HIDDEN="true or false"
5)if the panel is visible (not hidden), the size of it.
WIDTH="145" HEIGHT="30"
Here is a sample bit of code that has all of the attributes included:
<EMBED SRC="mysong.mid" AUTOSTART="true" LOOP="true" HIDDEN="false" WIDTH="145" HEIGHT="30"></embed>
So now you can edit any music on site or even on FORUM ....Just be aware of copyright problem for sure.
Hope might help
