471,350 Members | 1,774 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,350 software developers and data experts.

'Reset' a window's media object.

UJ
I have a window's media object. When it's done playing it file, I want to
start another file and let it run till it ends. Then play another file, ...

The way that I tell when the file is done is in the PlayerStateChange event.
Problem is, once the first file is done playing, I load the next file and
start playing it and the PlayerStateChange event is called immediately with
the new state being stopped.

Anybody know how to get around this?

If I have to, once the file is done I can delete the control and create a
new one. This seems like it could be problematic as far as a memory leak (
this app will be running continuously so I have to worry about memory
leaks.)

TIA - Jeff.
Jan 11 '06 #1
0 792

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Gandalf | last post: by
4 posts views Thread by Lee Chapman | last post: by
reply views Thread by annagel | last post: by
1 post views Thread by jmgro | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.