ffmediaelement icon indicating copy to clipboard operation
ffmediaelement copied to clipboard

Closing the window after a close MediaElement

Open vzsoft opened this issue 1 year ago • 2 comments

Issue

Closing the window after 45 seconds after executing this code

code in WPF:

        private async void Button_Click(object sender, RoutedEventArgs e)
        {

            var medi = new Unosquare.FFME.MediaElement();
            var dfgdfg = await medi.Open(new Uri(@"F:\Temp\1.mp4"));
            medi.IsMuted = true;
            await medi.Play();
            await medi.Close();
        }

Issue Categories

  • [x] Bug
  • [ ] Feature Request
  • [ ] Question
  • [ ] Not sure

Version Information

NuGet Package 7.0.361-beta.1 WPF NET 8

  • I work on this project for fun and on my free time.

vzsoft avatar Aug 31 '24 09:08 vzsoft

sample file WpfApp6.zip

vzsoft avatar Aug 31 '24 09:08 vzsoft

Has this issue been resolved?

MuMuTian avatar Feb 14 '25 06:02 MuMuTian