mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-27 21:05:53 +00:00
4.28.5
* Fixed: Video player issues related to last update and test code.
This commit is contained in:
parent
207fda2b36
commit
c1fba86dc9
2 changed files with 4 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "frankerfacez",
|
||||
"author": "Dan Salvato LLC",
|
||||
"version": "4.28.4",
|
||||
"version": "4.28.5",
|
||||
"description": "FrankerFaceZ is a Twitch enhancement suite.",
|
||||
"private": true,
|
||||
"license": "Apache-2.0",
|
||||
|
|
|
@ -973,6 +973,8 @@ export default class PlayerBase extends Module {
|
|||
return;
|
||||
}
|
||||
|
||||
const t = this;
|
||||
|
||||
document.addEventListener('fullscreenchange', () => {
|
||||
const fs = document.fullscreenElement,
|
||||
pip = document.pictureInPictureElement;
|
||||
|
@ -995,7 +997,7 @@ export default class PlayerBase extends Module {
|
|||
if ( document.pictureInPictureElement != null )
|
||||
return false;
|
||||
|
||||
if ( this.settings.get('player.force-visible') )
|
||||
if ( t.settings.get('player.force-visible') )
|
||||
return false;
|
||||
|
||||
return document.visibilityState === 'hidden';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue