mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-28 05:15:54 +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",
|
"name": "frankerfacez",
|
||||||
"author": "Dan Salvato LLC",
|
"author": "Dan Salvato LLC",
|
||||||
"version": "4.28.4",
|
"version": "4.28.5",
|
||||||
"description": "FrankerFaceZ is a Twitch enhancement suite.",
|
"description": "FrankerFaceZ is a Twitch enhancement suite.",
|
||||||
"private": true,
|
"private": true,
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
|
|
|
@ -973,6 +973,8 @@ export default class PlayerBase extends Module {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const t = this;
|
||||||
|
|
||||||
document.addEventListener('fullscreenchange', () => {
|
document.addEventListener('fullscreenchange', () => {
|
||||||
const fs = document.fullscreenElement,
|
const fs = document.fullscreenElement,
|
||||||
pip = document.pictureInPictureElement;
|
pip = document.pictureInPictureElement;
|
||||||
|
@ -995,7 +997,7 @@ export default class PlayerBase extends Module {
|
||||||
if ( document.pictureInPictureElement != null )
|
if ( document.pictureInPictureElement != null )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if ( this.settings.get('player.force-visible') )
|
if ( t.settings.get('player.force-visible') )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
return document.visibilityState === 'hidden';
|
return document.visibilityState === 'hidden';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue