Skip to content

MAUI Blazor - navigator.requestMediaKeySystemAccess and window.MediaKeys are undefined on Mac Catalyst #21255

Open

Description

Description

On iOS device (17.4), iOS simulator (17.4), and Android simulator, navigator.requestMediaKeySystemAccess and window.MediaKeys are defined, however they are not on Mac Catalyst.

Steps to Reproduce

Please see the linked sample app that reproduces the issue. As soon as the app launches, a JavaScript alert will display for each of navigator.requestMediaKeySystemAccess and window.MediaKeys, indicating whether it exists.

Expected behavior is that navigator.requestMediaKeySystemAccess and window.MediaKeys exist on Mac Catalyst like they do on the other platforms.

Link to public reproduction project repository

https://github.com/mrlife/MediaKeysTest

Version with bug

8.0.7 SR2

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

macOS

Affected platform versions

macOS Sonoma 14.4

Did you find any workaround?

No response

Relevant log output

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Blazor ❤️ MAUIIssues in MAUI functionality that affect Blazor, but are not bugs in Blazor itselfarea-controls-webviewWebViewplatform/macOS 🍏macOS / Mac Catalysts/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions