From what I can gather, you are loading your video (setting the Source
) only when you click button1
, yet you want the first frame to show before this happens. To accomplish this, you will have to load your video in another method, preferably when your Page
or Window
loads. Then you can do the following:
McMediaElement.ScrubbingEnabled = true;
McMediaElement.Play();
McMediaElement.Pause();