Comments (13)
After a bit of digging, it looks like tabStates[tab.id].state.isPlaying
at https://github.com/berrberr/streamkeys/blob/master/code/js/background.js#L91 always returns true for youtube videos. Digging DEEPER it's because of https://github.com/berrberr/streamkeys/blob/master/code/js/controllers/YoutubeController.js#L14 as area-label
never changes when you play/pause a video. In my testing changing it to check title
seems to have fixed this issue, as it updates with the change of player state. #851 is my proposed fix.
from streamkeys.
@Staindk I'm a bit late but it's not too too hard if you have git and node installed, by running these in a terminal:
git clone [email protected]:berrberr/streamkeys.git
cd streamkeys
git fetch origin pull/851/head:youtube-fix
git checkout youtube-fix
npm install
npm run grunt:dev
then on the chrome extensions page (chrome://extensions/) you can use "Load unpacked" with the folder streamkeys/build/unpacked-dev
(don't forget to also disable the other streamkeys extension while you have this temporary one active)
I would love to see it merged and published to the actual extension though
from streamkeys.
Bump - AFAIK this is still a problem and should not be closed.
from streamkeys.
I have the exact same problem. I'm on Opera 83.0.4254.19 (64bit) and it stopped working the same day as ConorJS. Likewise, I also updated my version before the problem occurred. I can also replicate the problem in Chrome 97.0.4692.99 (Offizieller Build) (64-Bit).
Any help would be appreciated.
from streamkeys.
This issue has been annoying the hell out of me. I depend on Streamkeys to help me handle my debilitating tab hoarding problem and it's been failing since this problem cropped up 😄
Hopefully a maintainer merges this in and they push out a new version to the Chrome store - until then, does anyone know if there is an easy way we could fix this ourselves? Not sure how simple it is to build your own altered version of the extension and install it to Chrome etc 🙈
from streamkeys.
when will this be merged/fixed lol
from streamkeys.
@BaliBalo And I'm even later - but just wanted to mention your instructions worked perfectly and I'm back to play/pausing youtube properly ^_^
Thanks!
from streamkeys.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from streamkeys.
from streamkeys.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from streamkeys.
It looks like the fix for this may have been merged in #851? If so, I would be grateful if a release with this fix could be pushed to the Chrome Web Store.
from streamkeys.
Would be great if this was pushed :D
from streamkeys.
This is really annoying as I can't even build the project as @BaliBalo detailed anymore, due to some npm dependency being broken or something. Really unfortunate cuz this extension has been essential for me
Btw the error, after running npm run grunt:dev
is:
>> Error: Can't walk dependency graph: Cannot find module 'URIjs' from '/home/jdnixx/Downloads/streamkeys/node_modules/urlutils/index.js'
>> required by /home/jdnixx/Downloads/streamkeys/node_modules/urlutils/index.js
Warning: Error running grunt-browserify. Use --force to continue.
from streamkeys.
Related Issues (20)
- Pandora asks "Are you still listening?"
- Not an issue but a change. Spotify Track info fix HOT 1
- Add Vivaldi browser suppot for MPRIS host script.
- Transparency on today's update HOT 26
- Extension stopped working today HOT 1
- Alternatives? HOT 1
- Deezer not working
- [BUG & Security Issue] DO NOT Install Version 1.8.5 from ChromeStore, install V1.8.4 instead
- Plex isn't working HOT 2
- New Hotkey Bindings HOT 1
- Feature Request: User defined custom hotkeys HOT 1
- Feature Request: Youtube fast foward and backwards HOT 4
- Global Hotkeys not working on Windows 11 HOT 3
- Fix TLS on website HOT 1
- Youtube Play/Pause not working at all HOT 4
- Deezer - play previous or next track not working HOT 5
- Deezer Problem HOT 2
- When YouTube is enabled, YouTube Music stops working HOT 1
- Apple Music stopped working HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from streamkeys.