Hi thereOPTION #1
Basically you need to code this using the Internet Explorer sound commands
(which are different from netscape's)
The way that works best in Internet Explorer is to use the BGSOUND tag
if you want a page to play a sound when it loads, use the BGSOUND tag,
inside the head section, like this:
<HTML>
<HEAD>
<BGSOUND src="bgsound.wav">
</HEAD>
<BODY>
BODY-elements
</BODY></HTML>
There is a description of this tag, here
http://utopia.knoware.nl/users/schluter/doc/tags/TAG_BGSOUND.html
Here's a sneaky way that would work nicely
1. Say you have a playlist of 10 songs, make a link to a different web
page for each song, don't put any actual sound commands in the file, and
then save the file as index.htm (or whatever)
e.g. index.htm contains stuff like this
<A HREF=song1.htm>Play song 1</A><BR>
<A HREF=song2.htm>Play song 2</A><BR>
etc.
<A HREF=song10.htm>Play song 10</A><BR>
2. Copy index.htm to song1.htm. Add the BGSOUND tag I showed you above to
song1.htm, and use this to play the first song
3. Copy index.htm to song2.htm . Add the BGSOUND tag I showed you above to
song1.htm, and use this to play the second song
etc.
OPTION #2
Alternatively - another way to do this would be to use the Activ Script
feature of Activ E-Book Compiler (the other way is to link to the sound
file, in which case you will get a popup box which it sounds like you don't
want).
Here how to code play a sound file, using Activ Script
- let's say the sound file is called music.wav
- use sndrec32.exe if you want to use the Windows sound record accessory to
play the sound, or mplayer2.exe to use the Windows media player (this plays
videos too)
1. If the music file is part of the E-Book source (shown in the files tab)
<A HREF="##RUN('sndrec32.exe {ebook}\music.wav')">Click here</A>
2. If the music file is a separate file, say in the same directory as where
the E-Book Output EXE is located
<A HREF="##RUN('sndrec32.exe {app}\music.wav')">Click Here</A>
OPTION #3
Finally the third way that I can think of would be to use our forthcoming
multi-media extension module, which will add a lot of flexibility for
manipulating sounds, over and above what you do in IE.
OPTION #4
....oh and I just thought of another way
There are some Java applets around that play audio. These work nicely and you could stick them into an E-Book . I think however they mostly work with Java's .au format. However if you have a sound editing program, you maybe could convert the files to this format