1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

use browser.tv

Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
gnattu 2024-05-21 22:37:35 +08:00 committed by GitHub
parent 0271ae42c0
commit 11e3bf395e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -133,7 +133,7 @@ export function enable() {
}
// Ignore Media Keys for non-TV platform having MediaSession API
if (!layoutManager.tv && isMediaKey(key) && hasMediaSession) {
if (!browser.tv && isMediaKey(key) && hasMediaSession) {
return;
}