更新时间:2023-10-29 11:07:16
我已经成功解决了我所面临的问题,实际上当光标到达audioMediaElement.Play()时会发生什么? Play()函数需要内部执行的时间,我将audioMediaElement.Play()替换为audioMediaElement.AutoPlay = true;它开始工作. :) woooo hoooo ...:)
I have successfully solved the issue i was facing, actually what happening when cursor reach on audioMediaElement.Play(); the Play() function takes time to execute internally, what i did i replace audioMediaElement.Play() to audioMediaElement.AutoPlay = true; and it started working. :) woooo hoooo... :)