Skip to main content
Topic: How to delay the start of an embedded midi? (Read 3558 times) previous topic - next topic

How to delay the start of an embedded midi?

I would like my midi to continuously loop, but to start only
after a 5 second pause. This is the code I'm using, but it
doesn't work:
<EMBED SRC="http://mylocation.com/mymidi.mid"
ALIGN="RIGHT" WIDTH="0" HEIGHT="2" autostart="true" volume="80" loop="true" delay="5" hidden="true"><NOEMBED>
Can anyone tell me what I'm doing wrong?
Thanks.

Re: How to delay the start of an embedded midi?

Reply #1
Where did you get the idea that a DELAY parameter is supported in this way when embedding MIDI files? We have not seen any documentation on a DELAY parameter, so cannot offer any assistance.

Re: How to delay the start of an embedded midi?

Reply #2
The EMBED tag is documented well for Netscape at:

http://developer.netscape.com/

The DELAY parameter is not an official poarameter, but could be optionally supported by a plug-in. Since you are embedding a MIDI file, support for a DELAY parameter would have to be provided by the user's MIDI player invoked by the browser. I have not seen such a parameter documented by MS or Netscape.

Re: How to delay the start of an embedded midi?

Reply #3
Your other option maybe to use a sequencer to add five seconds of 'space' at the beginning of the midi file.

Rich.

Re: How to delay the start of an embedded midi?

Reply #4
Except that this would introduce the delay during looping also.

Hey, I have the solution, go back to a 33.6 modem like I have. Then everything will take at least 5 seconds to load! :)

 

Re: How to delay the start of an embedded midi?

Reply #5
I thought a delay on looping was also required

R.