//Code behind - play the first video
await VideoSlideshowMediaElement.Open("C:\MyVideoFolder\FirstVideo.mp4");
//Code behind - play the second video after previous end
VideoSlideshowMediaElement.MediaEnded += async (sender, e) =>
{
await VideoSlideshowMediaElement.Open("C:\MyVideoFolder\SecondVideo.mp4");
};
VideoSlideshowMediaElement.MediaReady += (sender, e) =>
{
if (Math.Round(VideoSlideshowMediaElement.ActualPosition.Value.TotalSeconds) > 0)
{
VideoSlideshowMediaElement.Position = TimeSpan.Zero; //Seek to 0
}
};
Using the same code with dotnet 5.0 it works like a charm.
Issue Categories
[ ] Bug
[ ] Feature Request
[ ] Question
[X] Not sure
Version Information
[X] NuGet Package 4.4.350
[ ] Build From Master branch, Commit Enter commit id. Example: 704c482
[ ] Build from Branch Name, Commit Enter commit id. Example: 704c482
//Code behind - play the first video
await VideoSlideshowMediaElement.Open("C:\MyVideoFolder\FirstVideo.mp4");
//Code behind - play the second video after previous end
VideoSlideshowMediaElement.MediaEnded += async (sender, e) =>
{
await VideoSlideshowMediaElement.Open("C:\MyVideoFolder\SecondVideo.mp4");
};
VideoSlideshowMediaElement.MediaReady += (sender, e) =>
{
if (Math.Round(VideoSlideshowMediaElement.ActualPosition.Value.TotalSeconds) > 0)
{
VideoSlideshowMediaElement.Position = TimeSpan.Zero; //Seek to 0
}
};
.net 6.0 update - ntdll.dll fault
Hi, after updating my WPF app to dotnet 6.0 using the latest nuget package version (FFME.Windows.Wpf v4.4.350) I encountered the following problem:
It occurs when after playing a video I try to play another one:
Using the same code with dotnet 5.0 it works like a charm.
Issue Categories
Version Information
Steps to Reproduce
Expected Results
No errors
Sample Code
XAML
C