Page is a not externally linkable
- Code, Content, and Presentation
-- HTML
---- Sound Loop


Marcia - 10:13 pm on Dec 20, 2000 (gmt 0)


This code is cross-browser compatible (don't know about Mac though):

<CENTER>
<EMBED SRC="images/filename.mid" controls="smallconsole"
AUTOSTART=TRUE LOOP=TRUE WIDTH=140 HEIGHT=15 VOLUME=7>
<NOEMBED>
<BGSOUND SRC="images/filename.mid">
</NOEMBED>
</CENTER>

This causes the unsightly little player to show on the page, but gives the surfer the option to turn the sound off. If the dimensions are not included it won't show, but there's then no way to turn the sound off.

It does play with a different volume on the two browsers and there are a couple of other variables possible in the code but I don't remember them.


Thread source:: http://www.webmasterworld.com/html/125.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com