Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use MediaPlayer instead of MediaElement if available for PlaySoundAction? #208

Open
hawkerm opened this issue Dec 28, 2020 · 0 comments
Open

Comments

@hawkerm
Copy link

hawkerm commented Dec 28, 2020

On newer Windows versions (1607) it's recommended to not use MediaElement as it's no longer getting updates. Instead MediaPlayer can make it simple to use without needing to worry about XAML/Visual Tree. This could drop the PopUp usage.

Not sure if the min version wants to be bumped, but maybe capability could be detected and used to switch the code used?

References:

@hawkerm hawkerm changed the title Use MediaPlayer instead of MediaElement if available for PlaySoundAction? Use MediaPlayer instead of MediaElement if available for PlaySoundAction? Dec 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant