question

DaphnaSteinberg-3798 avatar image
0 Votes"
DaphnaSteinberg-3798 asked HuiLiu-MSFT commented

Playing sound using WPF MediaElement does not work after security update

We have a WPF software running on Windows 10 LTSB 64 bit (1607).
In order to play a sound file, we use System.Windows.Media.MediaTimeline targets System.Windows.Controls.MediaElement, wrapped with Storyboard, as suggested by Microsoft (See https://docs.microsoft.com/en-us/dotnet/api/system.windows.media.mediatimeline?view=net-5.0) .

After installing Q1 and then Q2 2021 security updates the sounds stop working for the software. It is still working for the system (OS).
The software worked well prior to the updates.

Please note that changing the code to work with SoundPlayer resolved the issue: the sound works as expected.
However, we need to make the original code work.

Can someone please advise with this issue?

Thank you very much in advance!

windows-wpf
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,@ DaphnaSteinberg-3798. What is the Q1 and Q2 2021 security used for your update? Could you display related links? And can you show your code for playing audio?

0 Votes 0 ·

0 Answers