|
|
In my numerous attempts to get some video playback capabilities in my CF3.5/WM6.1 application, I finally managed to get something working by using the "Hosting a native windows control" sample from MS.
However, when I set the windowlessVideo property of my AxWindowsMediaPlayer control to true, I get an ArgumentException.
mp = new AxWindowsMediaPlayer(); mp.uiMode="none"; // I gave the control a parent before setting the // property, but it doesn't change anything... Controls.Add(mp); // I added this, just in case, but it doesn't change anything.... mp.ParentContainer = this; mp.windowslessVideo=true; // throws ArgumentException :-(
Is there a workaround to this? The AxHost class, from which AxWindowsMediaPlayer derives, has several flags related to this, like fOwnWindow, fFakedWindow, ... but I can't get anything to work. Thank you, Julien.
|
|
|