I can't get the EndOfStream event of windows media player control in Access 2000's data access page 
Author Message
 I can't get the EndOfStream event of windows media player control in Access 2000's data access page

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?


Thu, 19 Dec 2002 03:00:00 GMT  
 I can't get the EndOfStream event of windows media player control in Access 2000's data access page
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?



Fri, 20 Dec 2002 03:00:00 GMT  
 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?



Sat, 21 Dec 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Problem getting Media player events in Netscape?

2. Problems with windows media Player Events and Netscape communicator

3. Event callbacks not invoked from Windows Media Player in JScript

4. JScript controls for Windows Media Player?

5. Windows Media Player Control and VB script

6. Windows Media Player - MSDXM.OCX control won't register

7. Using File Exists on Windows Explorer and Windows Media player shortcuts

8. How to control Window Media Player Window?

9. control media player functions with vbscript?

10. Instantiating Win Media Player 7 control from VBScript

11. Why won't my media player Play()?

12. Windows Media Player (mp3's)

 

 
Powered by phpBB® Forum Software