question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Mediakeys only work once

See original GitHub issue

Hello

Since the last update (6th of October) my media keys only work once (let’s say for one “pause”) and won’t work afterwards. Tested it on both OpenSuse (with Firefox 49) and Gentoo (with Firefox 45.4). The web-console just drops a Empty string passed to getElementById(). once I invoke the first “pause”, but I don’t know if that is connected to the extension itself. When I open Firefox in a terminal I get the following output once I pause the playback: console.error: browsermediakeys: in mainthread EmitEventToActivePageWorker, aKeyName: MediaPlayPause

And this once I stop Firefox: console.error: browsermediakeys: called and did destroy

<bountysource-plugin> --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/38406640-mediakeys-only-work-once?utm_campaign=plugin&utm_content=tracker%2F7600490&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F7600490&utm_medium=issues&utm_source=github). </bountysource-plugin>

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
X-Ryl669commented, Oct 17, 2016

In order to track down this bug, I’ve experienced this, can you confirm you’ve the same issue:

  1. Load a (fresh) Firefox with the extension installed and with some session restoring a tab with music/video you want it to work with.
  2. Go to the tab you’ve selected for the extension
  3. Press a media key (it works once, not twice) / Or, alternatively, reload the tab, then it does not work, not even once
  4. Unpin the tab (right-click the tab, select “Unpin Media Keys”)
  5. Pin the tab again (right-click the tab, select “Pin Media Keys”)
  6. Now, it works well (as many times as you want)

If it’s the case, @carlin-q-scott or @Noitidart, can you confirm you actually “repin” when the given tab reloads ?

0reactions
cybercoreycommented, Mar 30, 2017

Getting the same issue Firefox 52 on fedora 25 w/gnome

Read more comments on GitHub >

github_iconTop Results From Across the Web

Media Keys Not Working? Here's How to Fix Them on ...
Here's how to get the media keys on your keyboard working once more. ... If you only have one language added to the...
Read more >
Media/hotkeys keys will not work only when any Office ...
Microsoft windows, with Microsoft keyboard, controlling Microsoft media player, the media keys only do not work when a Microsoft Office prog is in...
Read more >
Solved: Multimedia keys only functioning in active window - Dell
Solved: I've just purchased an XPS 13 9380, and irritatingly, whilst transcribing audio for work, the play/pause, skip forward and skip ...
Read more >
G213 media keys only work when window focused : r/LogitechG
Title. When listening to Spotify, it only lets me use the pause/play, stop, & skip fwd/back buttons when the window is focused.
Read more >
Spotify: Fix broken Media Keys (Even if they work elsewhere)
Have media keys on your keyboard? Can't stop, play, skip or pause your music? Well, this video might just be the solution for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found