I have to tell an mp3 file to start after another one finishes and I thought I can do that by the Timeout function but obviously I don’t know how to write it.
I have
<OBJECT ID=”Player” WIDTH=0 HEIGHT=0
CLASSID=”CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95″>
<PARAM NAME=”BufferingTime” VALUE=”10″>
<PARAM NAME=”AudioStream” VALUE=”-1″>
<PARAM NAME=”Volume” VALUE=”-400″>
<PARAM NAME=”FileName” VALUE=”media/37.mp3″>
</OBJECT>
in the body part of the page.
I want to put the same about the second mp3 in a function and to call this function in a timeout.
How can I do this or is there anotherway to start the second mp3 after the end of the first.
Sorry for the dumb quesion but I’m quite new to JavaScript.