I am using MediaElement for play video and its fails sometime without any exception.. just black window comes and Calling Play() (or Pause() then Play()) fails every time.
I have ScrubbingEnabled set to True so that I can show the first frame of the video to the user
Code:-
<MediaElement x:Name="VideoPlayer" LoadedBehavior="Manual" MediaOpened="VideoPlayer_MediaOpened" MediaEnded="VideoPlayer_MediaEnded"
MediaFailed="VideoPlayer_MediaFailed" UnloadedBehavior="Manual" Stretch="Uniform" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
SizeChanged="VideoPlayer_SizeChanged" SourceUpdated="VideoPlayer_SourceUpdated" ></MediaElement>
And after restart exe same video play perfectly.
is am doing any thing wrong or its .Net issue ?