Wednesday, October 17

audio for HTML using the EMBED tag Embed mp3 Files Most simply, try to embed your mp3 files in a similar manner to wav files:

This works on some servers (It depends on the MIME configuration). If this does not work properly, ask your server to setup the MIME type for mp3.
For better streaming (more immediate play) use a text editor to write a "m3u" file with one line something like this:
http://www.yoursite.com/file.mp3
Save the file as "file.m3u" and upload it to your site. On your web page, embed the mp3 file like this:

Music To add music files to your site, use midi files (.mid). Midi files are much smaller than wav files and, if the user has a good sound card, the quality can be much better.

No comments: