dotnet / wpf

WPF is a .NET Core UI framework for building Windows desktop applications.
MIT License
7.08k stars 1.17k forks source link

MediaElement fails silently #5661

Closed vsfeedback closed 1 year ago

vsfeedback commented 3 years ago

This issue has been moved from a ticket on Developer Community.


I currently am having an issue where the first frame shows on a media element and then the media is unable to be played through .play(). I also have the issue where it will load an mp4 and only think it has audio or show a black screen. To replicate this issue, create a new windows vb form that targets .net 3.5 and is built towards x86. Add a wpf user control that has a media element on it and set the loaded behavior to manual. Add another window form that has a button and an elementhost. On the element host have the child be the wpf user control that was just made. On the button click call down to the usercontrol to set the source to an mp4 and call play. On the main form have a button which creates new versions of the form that you just made. Now to replicate the error click the main form button to make the new form and then click the play button. Repeat this and eventually you will get the media element to silently fail and either only think there’s audio or show a black screen that can’t be played.


Original Comments

Feedback Bot on 1/3/2021, 09:59 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Feedback Bot on 4/13/2021, 03:51 AM:

I detected that this issue hasn’t received a lot of activity, votes, or comments in the past 90 days. Based on this, the issues severity and affected area, it’s my experience that this issue is unlikely to get fixed. To improve the situation, consider following best practices for quality problem reports, and giving us more details on how this issue is impacting you.


Original Solutions

(no solutions)

singhashish-wpf commented 2 years ago

Is this reproducible in the latest net framework or net core app? Could you please share a minimal repro if possible?

pchaurasia14 commented 1 year ago

Closing due to inactivity.