Control audio or video playback with your keyboard

Firefox Firefox Përditësuar së fundmi: 36% e përdoruesve e kanë votuar këtë si të dobishëm
Askush nuk ka ndihmuar ende të përkthehet ky artikull. Nëse dini tashmë si funksionon përkthimi i artikujve të SUMO-s, filloni të përktheni që tani. Nëse doni të mësoni se si të përktheni artikuj për SUMO-n, ju lutemi, filloni nga këtu.

This article describes the media control feature that's available in Firefox version 81 and above.

Please update your version of Firefox for the latest features and security updates.

What is the media control feature?

You control media (audio or video) playback inside Firefox without clicking on the video or audio itself. You can now control it by pressing the hardware control buttons on a keyboard or headset, pressing the button on the virtual control interface or by sending commands via specific protocol, such as MPRIS.

This depends on website developers using the MediaSession API.

What platform supports this feature?

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

How are media control supported?

What kinds of media can be controlled by this feature?

Currently we only support controlling media playing from audio and video, so it cannot control media from web-audio and web-speech.

  • If an audible media is playing from audio and video, then it’s able to be controlled
  • If a playable media enters fullscreen
  • If a playable media enters picture-in-picture mode

What kinds of media can NOT be controlled by this feature?

Media from web-audio and web-speech cannot be controlled. Also:

  • Inaudible media (silent videos that don't have an audio track, such as GIF-like images)
  • Notification sounds

If I have multiple tabs playing media, which tab would be controlled?

If there are multiple tabs playing at the same time, you could control the last tab playing media, unless you are playing in Picture-in-Picture mode. In this case, the tab the picture-in-picture video belongs to would always be the tab that is being controlled.

Why sometimes when I press media control keys, it controls other apps but not Firefox? Or, other apps are also being controlled at the same time?

Each platform has its own mechanism for which applications control audio. In some cases, multiple applications might try to control the media keys at the same time. If this happens, try to close any other apps that are trying to control your media control keys.

Qe i dobishëm ky artikull?

Ju lutemi, prisni...

Në shkrimin e këtij artikulli ndihmuan këta persona të mirë:

Illustration of hands

Vullnetar

Shtoni dhe ndani me të tjerët ekspertizën tuaj. Përgjigjuni pyetjeve dhe përmirësoni bazën tonë të dijeve.

Mësoni Më Tepër