The SDK says there's a Player.PlayState available with these values :
0 Playback is stopped.
1 Playback is paused.
2 Stream is playing.
3 Waiting for stream to begin.
4 Not supported in this release.
5 Not supported in this release.
6 Skipping to next.
7 Skipping to previous.
8 Stream is not open.
Does it not work in evc++ ? It says it's for the 'pocket IE activeX
control' but I'd assumed it worked for any form of embedding. Or do
you mean, your application runs separately from WMP (not embedded or
communicating with it) and you want to find out if the player on the
device is in a particular state ?
Cheers - Neil
>Hello,
>
[quoted text clipped - 20 lines]
>html screen automatically (say from sample1.htm to sample2.htm thru
>sendmessage())
Arvind - 04 May 2005 12:25 GMT
im able to get the state of the player thru javascipt but now thru evc++
code.
My application is (evc++)
1.embedding the html files.
2.the html files embedds the wmp ocx with in.
3.im playing the asx (contains list of wmv's to play)
the wmp ocx plays the list of files and stops and stays in the same screen.
what im looking for is to find when the files are played (after completing
the asx)
and pass some message to my app so that i can post next page when its
done.with out user interaction.
using (::SendMessage(hWndHtml, DTM_NAVIGATE, 0,
(LPARAM)(LPTSTR)IDS_START_2);)
is it possible to do this?
--
Thanks,
Arvind
----------------------------------------------------------------------------
-------------------------
"eRiva Systems" - Where Technology Meets Life, Every Minute.
e-Mail : arvindr@erivasystems.com
Web Site: www.erivasystems.com
Yahoo Messenger : arvish27
> The SDK says there's a Player.PlayState available with these values :
>
[quoted text clipped - 39 lines]
> >html screen automatically (say from sample1.htm to sample2.htm thru
> >sendmessage())