mirror of
https://github.com/SoPat712/videospeed.git
synced 2025-08-22 02:18:45 -04:00
ignore keydown event when there is no video on apple tv
This commit is contained in:
@@ -399,8 +399,8 @@
|
||||
|
||||
// Ignore keydown event if typing in a page without vsc
|
||||
if (document.querySelector('apple-tv-plus-player')) {
|
||||
if (queryShadowVideo(document.querySelector('apple-tv-plus-player')).length > 0) {
|
||||
|
||||
if (queryShadowVideo(document.querySelector('apple-tv-plus-player')).length == 0) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else if (!document.querySelector(".vsc-controller")) {
|
||||
|
Reference in New Issue
Block a user