ExpressionMediaPlayer.ExpressionPlayer ep = new ExpressionMediaPlayer.ExpressionPlayer();
From a template used in Encoder.
How to Auto play the media. I issue a ep.Play() but it does't play. I always have to click on the big triangle in the middle of the video player
to start the video.
Any ideas ?
Here's the entire section of the code :
ExpressionMediaPlayer.ExpressionPlayer ep = new ExpressionMediaPlayer.ExpressionPlayer();
ep.Playlist.Add(GearObjects.Gear.GetPlaylistItem("A video name", "A description", "Video File name"));
GearObjects.GearWindow gw = new GearObjects.GearWindow(Bla bla parameters for a window);
gw.Container.Children.Add(ep);
ep.Play(); // doesn't play automaticly.