English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

5 answers

To add sounds to a web page... we will use the tag. This tag supports many common file formats... such as .wav, .mid, .mp3, and .au. Here is the basic structure of the tag:



If you want the file to automatically play when the web page is loaded, set autoplay="true", if you do not want the file to automatically start, set autoplay="false". If you want the control box to be hidden, use the hidden="true" attribute. Normally the file will stop playing after it is completed the first time, so if you want it to start over once it is done use the attribute loop="true". You can set the volume setting with the volume attribute, a value from 1 to 100 (default is 50). The control box size that plays the sound can vary from browser to browser, but some versions of Netscape won't show the box at all unless you specify. (145 and 60 are usually good)

2007-02-24 19:39:07 · answer #1 · answered by Tough Guy 1 · 0 0

Not very easily - websites work by you downloading all the componants (pictures - text - videos - music) and the browser putting it all together.

The proper way would be for you to set up audio streaming services on your server - which requires admin access, software and knowledge.

If you just want to stop people stealing your stuff and putting on their mp3 palyer - embed the music in a flash file. The flash will play on the website but they won't see or have the mp3

2007-02-24 19:38:17 · answer #2 · answered by cool_clearwater 6 · 0 0

You will need to embed the file. Check out this website it basically runs you through the process and provides you with the code at the end of it.

2007-02-24 19:35:32 · answer #3 · answered by nos8wire 2 · 0 0

simple. You just post it in a windows media player applet.

2007-02-24 19:38:12 · answer #4 · answered by Black Hole 2 · 0 0

it needs to be embedded in a player like windows media player or qucktime or something. instead of just linked..

2007-02-24 19:33:04 · answer #5 · answered by Dru D 2 · 0 0

fedest.com, questions and answers