Tom's Hardware Forums » PDA » Multimedia » WMP OCX issue
 

WMP OCX issue

Add a reply



 Word :   Username :  
 
Bottom
Author
 Thread : WMP OCX issue
 
More Information

Archived from groups: microsoft.public.pocketpc.multimedia (More info?)

 

Hello,

Im embedding wmp ocx(6.4) on html andembedding html on the evc++ app.


amd im able to control the app quite well. but is it possible to find
whether the wmp on the pie is

1.playing the file
2.stopped
3.started

etc

from my application?

may be thru

case WM_ACTIVATE:


???


the reason for this is when the video file is played i want to change the
html screen automatically (say from sample1.htm to sample2.htm thru
sendmessage())

--
Thanks,

Arvind

----------------------------------------------------------------------------
-------------------------
"eRiva Systems" - Where Technology Meets Life, Every Minute.

e-Mail : arvindr@erivasystems.com

Web Site: www.erivasystems.com

Yahoo Messenger : arvish27

||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|||||||||||||
||||||||||||||||||||||||||||||||||||||||||||||||||||||||

Related Pr oduct
Register or log in to remove.

More Information

Archived from groups: microsoft.public.pocketpc.multimedia (More info?)

 

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

On Wed, 4 May 2005 12:46:27 +0530, "Arvind" <arvind
r@erivasystems.com> wrote:

>Hello,
>
>Im embedding wmp ocx(6.4) on html andembedding html on the evc++ app.
>
>
>amd im able to control the app quite well. but is it possible to find
>whether the wmp on the pie is
>
>1.playing the file
>2.stopped
>3.started
>
>etc
>
>from my application?
>
>may be thru
>
>case WM_ACTIVATE:
>
>
>???
>
>
>the reason for this is when the video file is played i want to change the
>html screen automatically (say from sample1.htm to sample2.htm thru
>sendmessage())

More Information

Archived from groups: microsoft.public.pocketpc.multimedia (More info?)

 

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

||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|||||||||||||
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
"Neil Smith [MVP Digital Media]" <neil@nospam.com> wrote in message
news:u18h719ncktumme4osiq910ucj1gf92d84@4ax.com...
> 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
>
> On Wed, 4 May 2005 12:46:27 +0530, "Arvind" <arvind
> r@erivasystems.com> wrote:
>
> >Hello,
> >
> >Im embedding wmp ocx(6.4) on html andembedding html on the evc++ app.
> >
> >
> >amd im able to control the app quite well. but is it possible to find
> >whether the wmp on the pie is
> >
> >1.playing the file
> >2.stopped
> >3.started
> >
> >etc
> >
> >from my application?
> >
> >may be thru > >
> >case WM_ACTIVATE:
> >
> >
> >???
> >
> >
> >the reason for this is when the video file is played i want to change the
> >html screen automatically (say from sample1.htm to sample2.htm thru
> >sendmessage())
>


Go to:
Add a reply
  Tom's Hardware Forums » PDA » Multimedia » WMP OCX issue
 

Google Ads
Ad