` Printed Icetips Article

Icetips Article



Par2: Playing sound files on the web
2000-10-10 -- Garry Mitchell
 
Embed the file Before Closing Body in your procedure:

Target.WriteLN('<')
Target.WriteLN('<')

Couple points:  I highly recommend the closing /EMBED tag, although some
books say it's not needed (wouldn't work on Mac/NS without it).  You can
change autostart= to "false", and the clip will be downloaded, but not
play until/unless they click the start button on the Control Panel
that's displayed.  You can also hide the console by making height/width
= "0".  Recommend .AU or .WAV files (RA or MP3 requires they have a
suitable plug-in).

You can see how we're using this by going here:

http://209.126.155.43/cws/c5launch.dll/netquest/netquest.exe.0?2

Hope this helps...



Printed November 21, 2024, 11:44 am
This article has been viewed/printed 35205 times.