v1.7.0/release
This commit is contained in:
@@ -42,6 +42,8 @@ import {
|
|||||||
UpdateAdminOnly,
|
UpdateAdminOnly,
|
||||||
scrollThread,
|
scrollThread,
|
||||||
removeLocalData,
|
removeLocalData,
|
||||||
|
PLAYER_SOURCE,
|
||||||
|
getPlayerSource,
|
||||||
} from './Api';
|
} from './Api';
|
||||||
import {
|
import {
|
||||||
Send,
|
Send,
|
||||||
@@ -521,6 +523,10 @@ export default class Chat extends Component {
|
|||||||
condition: () => adminOnly,
|
condition: () => adminOnly,
|
||||||
message: 'Party is currently in admin only mode.',
|
message: 'Party is currently in admin only mode.',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
condition: () => getPlayerSource() === PLAYER_SOURCE.FUNIMATION,
|
||||||
|
message: 'If sync stops working, try (Ctrl + Shift + R) or (⌘ + Shift + R)',
|
||||||
|
},
|
||||||
];
|
];
|
||||||
return (
|
return (
|
||||||
<div className="party-chat-container">
|
<div className="party-chat-container">
|
||||||
|
|||||||
+10
-13
@@ -267,8 +267,10 @@ export default class VideoListener {
|
|||||||
const ashow = document.querySelector(nS.show).innerText || '';
|
const ashow = document.querySelector(nS.show).innerText || '';
|
||||||
return ashow === '' ? null : ashow;
|
return ashow === '' ? null : ashow;
|
||||||
case PLAYER_SOURCE.HULU:
|
case PLAYER_SOURCE.HULU:
|
||||||
const hshow = document.querySelector(nS.show).innerText;
|
const hshowContainer = document.querySelector(nS.show);
|
||||||
const hepisode = document.querySelector(nS.episode).innerText.replace(/\n/gi, ' ');
|
const hepisodeContainer = document.querySelector(nS.episode);
|
||||||
|
const hshow = hshowContainer ? hshowContainer.innerText : '';
|
||||||
|
const hepisode = hepisodeContainer ? hepisodeContainer.innerText.replace(/\n/gi, ' ') : '';
|
||||||
return hshow === '' && hepisode === '' ? null : hshow + '\n' + hepisode;
|
return hshow === '' && hepisode === '' ? null : hshow + '\n' + hepisode;
|
||||||
case PLAYER_SOURCE.DISNEY:
|
case PLAYER_SOURCE.DISNEY:
|
||||||
this.video.element.parentElement.click();
|
this.video.element.parentElement.click();
|
||||||
@@ -715,17 +717,12 @@ export default class VideoListener {
|
|||||||
if (funimationIframe) {
|
if (funimationIframe) {
|
||||||
this.firstTimeSync(funimationIframe);
|
this.firstTimeSync(funimationIframe);
|
||||||
} else {
|
} else {
|
||||||
setInterval(
|
setInterval(() => {
|
||||||
this.video.element
|
const fif = document.querySelector(this.selectors[PLAYER_SOURCE.FUNIMATION]);
|
||||||
? null
|
if (!this.video.element && fif) {
|
||||||
: () => {
|
this.firstTimeSync(fif);
|
||||||
const fif = document.querySelector(this.selectors[PLAYER_SOURCE.FUNIMATION]);
|
}
|
||||||
if (fif) {
|
}, 1000);
|
||||||
this.firstTimeSync(fif);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
1000
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case PLAYER_SOURCE.ROOSTERTEETH:
|
case PLAYER_SOURCE.ROOSTERTEETH:
|
||||||
|
|||||||
@@ -278,6 +278,23 @@ body.roosterteeth.visible .party-content-wrapper textarea:focus {
|
|||||||
border-bottom: none !important;
|
border-bottom: none !important;
|
||||||
box-shadow: none !important;
|
box-shadow: none !important;
|
||||||
}
|
}
|
||||||
|
/* VIKI */
|
||||||
|
|
||||||
|
body.viki .party-content-wrapper input,
|
||||||
|
body.viki .party-content-wrapper input:focus {
|
||||||
|
padding: 18.5px 14px !important;
|
||||||
|
padding-top: 10.5px !important;
|
||||||
|
padding-bottom: 10.5px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.viki .party-content-wrapper input,
|
||||||
|
body.viki .party-content-wrapper input:focus,
|
||||||
|
body.viki .party-content-wrapper textarea,
|
||||||
|
body.viki .party-content-wrapper textarea:focus {
|
||||||
|
border-bottom: none !important;
|
||||||
|
box-shadow: none !important;
|
||||||
|
margin: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
#party-loading {
|
#party-loading {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@@ -1045,6 +1062,12 @@ button.giphy-list-item {
|
|||||||
opacity: 0;
|
opacity: 0;
|
||||||
bottom: -30px;
|
bottom: -30px;
|
||||||
transition: all ease-in-out 0.2s;
|
transition: all ease-in-out 0.2s;
|
||||||
|
max-height: 32px;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: pre;
|
||||||
|
padding-left: 10px;
|
||||||
|
padding-right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.vxt-video:first-of-type {
|
.vxt-video:first-of-type {
|
||||||
|
|||||||
Reference in New Issue
Block a user