Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

embedding media player

17 views
Skip to first unread message

Rticul8

unread,
Jun 20, 2007, 7:54:03 AM6/20/07
to
hi,
I am trying to play video clips from within my C# app (on a win CE 5.0
target).
I would like to be able to control the video from the application
(start/stop/size, etc), but am having trouble finding information on how to
do this.
I understand that COM/ActiveX is limited with .NET CF and therefore poses a
problem with the implementation.
Most of the information I have been reading is a bit vague and the one
sample I managed to download did not work on my target device.
Any help would be greatly appreciated.

thanks in advance

Paul G. Tobey [eMVP]

unread,
Jun 20, 2007, 11:18:30 AM6/20/07
to
I've added the .NET Compact Framework group to your distribution list. You
need to tell us what version of that framework your target device has, 1.0
or 2.0.

Paul T.

"Rticul8" <Rti...@discussions.microsoft.com> wrote in message
news:8A49EE1F-A591-4651...@microsoft.com...

Rticul8

unread,
Jun 20, 2007, 11:34:04 AM6/20/07
to
I am using .NET CF 2.0

thanks.

joker

unread,
Jun 20, 2007, 4:18:36 PM6/20/07
to
What version of Windows Media Player is on your CE 5?

On Jun 20, 11:34 am, Rticul8 <Rtic...@discussions.microsoft.com>
wrote:


> I am using .NET CF 2.0
>
> thanks.
>
> "Paul G. Tobey [eMVP]" wrote:> I've added the .NET Compact Framework group to your distribution list. You
> > need to tell us what version of that framework your target device has, 1.0
> > or 2.0.
>
> > Paul T.
>

> > "Rticul8" <Rtic...@discussions.microsoft.com> wrote in message

Rticul8

unread,
Jun 21, 2007, 3:41:02 AM6/21/07
to
When i execute the player on the CE target (CEPLAYER.exe) it displays
'Windows Media 9 Series'.
Unfortunately, there does not seem to be any more information about the
application on the target device.

Rticul8

unread,
Jun 21, 2007, 5:03:01 AM6/21/07
to
ok, getting there now - slowly.
I found some info on MSDN regarding DirectShow:
http://msdn2.microsoft.com/en-us/library/aa916490.aspx
Crowbar'd this into a C++ project using my platform SDK.
I had some initial compilation errors (I had to explicitly incorporate the
strmiids.lib from my platform SDK into the linker settings, and had use a
cast in ctlutil.h (LONG) for some reason...?).
Apart from that, it sort of works. Just need to figure out how to manipulate
it properly, then I guess I need to provide hooks for my managed code to use..

If anyone has any further comments/suggestions on what I am trying to do,
please let us know.

joker

unread,
Jun 21, 2007, 6:29:49 AM6/21/07
to
That's about all the info you'll get with wmp9.

In order to play video from within a CF2 application using wmp you
need to wrap the activex control for wmp9. I was able to do this,
although I'm not real confident in the result. It seems kind of
unreliable.

If you like, I'll send you what I've got. I'm always open for
improvement.

Rticul8

unread,
Jun 21, 2007, 7:16:01 AM6/21/07
to
Mucho thanks.
my email is wayn...@yahoo.co.uk
Any info is appreciated.

hakan aktan

unread,
May 14, 2012, 9:55:48 AM5/14/12
to
Hello, i need to use ceplayer.exe with full screen all time for a kiosk application. i could not customize using c++ files. Would you share your solution with me?

> On Wednesday, June 20, 2007 7:54 AM Rticul wrote:

> hi,
> I am trying to play video clips from within my C# app (on a win CE 5.0
> target).
> I would like to be able to control the video from the application
> (start/stop/size, etc), but am having trouble finding information on how to
> do this.
> I understand that COM/ActiveX is limited with .NET CF and therefore poses a
> problem with the implementation.
> Most of the information I have been reading is a bit vague and the one
> sample I managed to download did not work on my target device.
> Any help would be greatly appreciated.
>
> thanks in advance


>> On Wednesday, June 20, 2007 11:18 AM Paul G. Tobey [eMVP] wrote:

>> I have added the .NET Compact Framework group to your distribution list. You
>> need to tell us what version of that framework your target device has, 1.0
>> or 2.0.
>>
>> Paul T.


>>> On Wednesday, June 20, 2007 11:34 AM Rticul wrote:

>>> I am using .NET CF 2.0
>>>
>>> thanks.
>>>
>>> "Paul G. Tobey [eMVP]" wrote:


>>>> On Wednesday, June 20, 2007 4:18 PM joker wrote:

>>>> What version of Windows Media Player is on your CE 5?
>>>>
>>>> wrote:


>>>>> On Thursday, June 21, 2007 3:41 AM Rticul wrote:

>>>>> When i execute the player on the CE target (CEPLAYER.exe) it displays
>>>>> 'Windows Media 9 Series'.
>>>>> Unfortunately, there does not seem to be any more information about the
>>>>> application on the target device.
>>>>>
>>>>>
>>>>>
>>>>> "joker" wrote:


>>>>>> On Thursday, June 21, 2007 5:03 AM Rticul wrote:

>>>>>> ok, getting there now - slowly.
>>>>>> I found some info on MSDN regarding DirectShow:
>>>>>> http://msdn2.microsoft.com/en-us/library/aa916490.aspx
>>>>>> Crowbar'd this into a C++ project using my platform SDK.
>>>>>> I had some initial compilation errors (I had to explicitly incorporate the
>>>>>> strmiids.lib from my platform SDK into the linker settings, and had use a
>>>>>> cast in ctlutil.h (LONG) for some reason...?).
>>>>>> Apart from that, it sort of works. Just need to figure out how to manipulate
>>>>>> it properly, then I guess I need to provide hooks for my managed code to use..
>>>>>>
>>>>>> If anyone has any further comments/suggestions on what I am trying to do,
>>>>>> please let us know.
>>>>>>
>>>>>> "Rticul8" wrote:


>>>>>>> On Thursday, June 21, 2007 6:29 AM joker wrote:

>>>>>>> That's about all the info you'll get with wmp9.
>>>>>>>
>>>>>>> In order to play video from within a CF2 application using wmp you
>>>>>>> need to wrap the activex control for wmp9. I was able to do this,
>>>>>>> although I'm not real confident in the result. It seems kind of
>>>>>>> unreliable.
>>>>>>>
>>>>>>> If you like, I'll send you what I've got. I'm always open for
>>>>>>> improvement.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Jun 21, 3:41 am, Rticul8 <Rtic...@discussions.microsoft.com> wrote:


0 new messages