Closed Bug 1794502 Opened 3 years ago Closed 2 years ago

Media keys not working in Windows 8.1

Categories

(Core :: Audio/Video: Playback, defect, P3)

Firefox 105
x86_64
Windows 8.1
defect

Tracking

()

RESOLVED INACTIVE

People

(Reporter: salihmuratovic288, Unassigned, NeedInfo)

References

Details

User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0

Steps to reproduce:

Opened music.youtube.com and played a song

Actual results:

Tried using the media keys (all of them), and nothing happened

Expected results:

They should have worked

The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core

Thanks for the report! Would you be able to post the contents of your about:support? Does the behavior change if you disable/enable the "control media via keyboard, headset, or virtual interface" option in your settings? You can find it by clicking on the hamburger menu, then settings. Type "Control media" in the search box in the upper right and the setting should appear for you to change.

Flags: needinfo?(cchang)
OS: Unspecified → Windows 8.1
Hardware: Unspecified → x86_64
Severity: -- → S3
Priority: -- → P3

According to this comment by one of the moderators of the /r/Firefox community on Reddit:

Sorry to say that the Firefox implementation of this is based on https://docs.microsoft.com/en-us/uwp/api/windows.media.systemmediatransportcontrols?view=winrt-22000 which only appeared on Windows 10.

If this is true, please correct this wiki page. It currently says:

You can use this feature on MacOS (OSX 10.12.1 or above), Windows (Windows 8.1 or above), and Linux (gtk-based distributions).

See Also: → 1794820

(In reply to André from comment #3)

According to this comment by one of the moderators of the /r/Firefox community on Reddit:

Sorry to say that the Firefox implementation of this is based on https://docs.microsoft.com/en-us/uwp/api/windows.media.systemmediatransportcontrols?view=winrt-22000 which only appeared on Windows 10.

If this is true, please correct this wiki page. It currently says:

You can use this feature on MacOS (OSX 10.12.1 or above), Windows (Windows 8.1 or above), and Linux (gtk-based distributions).

This has been reported to occur on Windows 11 in Bug 1794820 as well, will need further investigation.

Severity: S3 → S2
Priority: P3 → P2

Would you mind to help me capture the debug log by using MOZ_LOG=MediaControl:5?
Thank you.

Flags: needinfo?(salihmuratovic288)

(In reply to az [:az] from comment #4)

(In reply to André from comment #3)

According to this comment by one of the moderators of the /r/Firefox community on Reddit:

Sorry to say that the Firefox implementation of this is based on https://docs.microsoft.com/en-us/uwp/api/windows.media.systemmediatransportcontrols?view=winrt-22000 which only appeared on Windows 10.

If this is true, please correct this wiki page. It currently says:

You can use this feature on MacOS (OSX 10.12.1 or above), Windows (Windows 8.1 or above), and Linux (gtk-based distributions).

This has been reported to occur on Windows 11 in Bug 1794820 as well, will need further investigation.

Given bug 1794820 was closed as INVALID, should we decrease the severity?

Flags: needinfo?(azebrowski)

Going to mark this as INACTIVE since we haven't heard back from the reporter, but wanted to give a bit of additional context here.

In our source it looks like Windows 8.1 should support media keys. On the page 08xjcec48 linked regarding Windows.Media.SystemMediaTransportControls, it seems like Windows 10 is necessary to support it:

Windows requirements
Device family 	
Windows 10 (introduced in 10.0.10240.0)

Somewhat confusingly, on that same page it seems like Windows 8.1 should support it -- it's not exactly clear.

The SystemMediaTransportControls replaces the MediaControl class. In Windows 8.1 and later, you should use this control instead of MediaControl to interact with the system transport controls
Severity: S2 → S3
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Flags: needinfo?(azebrowski)
Priority: P2 → P3
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.