
I can't get the EndOfStream event of windows media player control in Access 2000's data access page
hi Jim,
Thank u for your kind reply. To express my problem clearly, I post the code
which can't run in my test page.
<SCRIPT event=EndOfStream for=oMediaPlayer language=VBScript>
<!--
MsgBox "end of stream!"
-->
</SCRIPT>
I wonder if the event of EndOfStream can't be trapped in IE5 or can't be
handled by VBscript.
zhong
Quote:
> hi Zhong,
> Have you tried the usual method?
> <SCRIPT LANGUAGE = "whatever" FOR = "oMediaPlayer" EVENT = "EndOfStream">
> <!--
> Rewind, rePlay scripting statements...
> // -->
> </SCRIPT>
> hth, jw
Quote:
> > I put a windows media player control in a Access 2000's data access
> page.It
> > can play a .wav file .But what i want it to do is: When it complete one
> .wav
> > file ,the control can play another .wav file automaticly.So I must get
the
> > EndOfStream event of windows media player control in the page and write
a
> > script for it.It seems IE5 only can handle onEvent .Is it right?