Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pressing the Spacebar or K key pauses the stream, even when typing into chat #35

Open
Nystrata opened this issue Mar 31, 2022 · 3 comments

Comments

@Nystrata
Copy link

Nystrata commented Mar 31, 2022

Pressing the Spacebar or K key pauses the stream, even when typing into chat in Chrome.
With the add-on disabled, using those keys in chat is does not pause.

@Nystrata Nystrata changed the title Pressing the Spacebar pauses the stream, even when typing into chat Pressing the Spacebar or K key pauses the stream, even when typing into chat Mar 31, 2022
@ffomega
Copy link

ffomega commented Apr 3, 2022

It's not just pressing space or K, it's whenever you use any of the twitch keyboard shortcuts, such as M or F for muting and toggling full screen

@HiPoEGH
Copy link

HiPoEGH commented May 7, 2022

Workaround is to pop-out chat.

@mammour
Copy link

mammour commented May 28, 2022

embed theatre mode (if i get commentaries right) function ttvTheaterMode mode is causing this , in cnt.js line 619 :
top.window.addEventListener("keydown", keyEventHandler,true);

cause the events to get handled on the whole window, need some condition to either load or not this function on twitch / outside of twitch

if(window.location.hostname != 'www.twitch.tv' && window.location.hostname != 'twitch.tv'){top.window.addEventListener("keydown", keyEventHandler,true);}
or add this condition to the whole function call on line 271

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants