Anyone have a sample on how to draw video in NovCTP.
I have the following at the momment but fails to play video just audio.
MediaPlayer
player; public Window1(){ InitializeComponent();
player =
MediaTimeline t = new MediaTimeline();
t.Source = new Uri(@"Japan.wmv");
MediaClock c = t.CreateClock();
player.Clock = c;
} protected override void OnRender(DrawingContext drawingContext){
drawingContext.DrawVideo(player,
new Rect(RenderSize));base.OnRender(drawingContext);
}
kind regards,

NovCTP - MediaPlayerSample
maheshbabui
M-Studios
zkent
Ralphxyz
Has anyone figured this out, I cannot get it work either. Thanks, Dvl
AvinashA
As for streaming from an http URL, it is expected to work. If not, it is likely not related to the code sample you have above.
Sergio G
as for the streaming it probably me but
<MediaElement Source="C:\Inetpub\wwwroot\ImagineBlogger\2.asf"/> Works
<MediaElement Source="http://awebbermedia/imagineblogger/2.asf"/> Doesnt
ericsstoll
Thank the lord!, i thought i was insane.
my boss wont fire me now, thanks