v1.5.2/release
- remove footer file - fix gif close css - make all listeners on timers
This commit is contained in:
@@ -308,6 +308,18 @@ export default class VideoListener {
|
|||||||
const videoElement = document.getElementsByClassName('content-video-player')[0];
|
const videoElement = document.getElementsByClassName('content-video-player')[0];
|
||||||
if (videoElement) {
|
if (videoElement) {
|
||||||
this.firstTimeSync(videoElement);
|
this.firstTimeSync(videoElement);
|
||||||
|
} else {
|
||||||
|
setInterval(
|
||||||
|
this.video.element
|
||||||
|
? null
|
||||||
|
: () => {
|
||||||
|
var hve = document.getElementsByClassName('content-video-player')[0];
|
||||||
|
if (hve !== null && (this.video.element !== hve || this.video.element === null)) {
|
||||||
|
this.firstTimeSync(hve);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
1000
|
||||||
|
);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case PLAYER_SOURCE.AMAZON:
|
case PLAYER_SOURCE.AMAZON:
|
||||||
@@ -317,7 +329,38 @@ export default class VideoListener {
|
|||||||
.getElementsByTagName('video')[0];
|
.getElementsByTagName('video')[0];
|
||||||
if (videoElement) {
|
if (videoElement) {
|
||||||
this.firstTimeSync(videoElement);
|
this.firstTimeSync(videoElement);
|
||||||
|
} else {
|
||||||
|
setInterval(
|
||||||
|
this.video.element
|
||||||
|
? null
|
||||||
|
: () => {
|
||||||
|
var ave = document
|
||||||
|
.getElementsByClassName('webPlayerSDKContainer')[0]
|
||||||
|
.getElementsByTagName('video')[0];
|
||||||
|
if (
|
||||||
|
ave !== null &&
|
||||||
|
(this.video.element !== ave || this.video.element === null)
|
||||||
|
) {
|
||||||
|
this.firstTimeSync(ave);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
1000
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
setInterval(
|
||||||
|
this.video.element
|
||||||
|
? null
|
||||||
|
: () => {
|
||||||
|
var ave = document
|
||||||
|
.getElementsByClassName('webPlayerSDKContainer')[0]
|
||||||
|
.getElementsByTagName('video')[0];
|
||||||
|
if (ave !== null && (this.video.element !== ave || this.video.element === null)) {
|
||||||
|
this.firstTimeSync(ave);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
1000
|
||||||
|
);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case PLAYER_SOURCE.DISNEY:
|
case PLAYER_SOURCE.DISNEY:
|
||||||
|
|||||||
+2
-2
@@ -497,8 +497,8 @@ textarea::-webkit-scrollbar {
|
|||||||
height: 1.75em !important;
|
height: 1.75em !important;
|
||||||
}
|
}
|
||||||
.text-phone-panel .gif-button.gif-close svg {
|
.text-phone-panel .gif-button.gif-close svg {
|
||||||
width: 0.75em !important;
|
width: 2em !important;
|
||||||
height: 0.75em !important;
|
height: 1.5em !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.MuiTooltip-popper {
|
.MuiTooltip-popper {
|
||||||
|
|||||||
@@ -1,32 +0,0 @@
|
|||||||
|
|
||||||
<footer data-font="sans">
|
|
||||||
<p class="title built-with">
|
|
||||||
<a href="./copyright/">COPYRIGHT</a> © 2020 AYUSHYA AMITABH. ALL RIGHTS RESERVED.
|
|
||||||
</p>
|
|
||||||
<p class="title built-with">
|
|
||||||
BUILT WITH 💚 FOR <a href="https://www.google.com/chrome/">GOOGLE CHROME</a> USING
|
|
||||||
<a href="https://firebase.google.com/">FIREBASE</a>,
|
|
||||||
<a href="https://material-ui.com/">MATERIAL-UI</a>,
|
|
||||||
<a href="https://reactjs.org/">REACT JS</a>, <a href="https://nodejs.org/en/">NODE JS</a>,
|
|
||||||
<a href="https://giphy.com/">GIPHY</a>, & <a href="https://dolby.io/">DOLBY VOXEET</a>.
|
|
||||||
</p>
|
|
||||||
<a data-font="sans-bold" href="https://paypal.me/Ayushya" class="link-button">
|
|
||||||
Support Watch Party
|
|
||||||
</a>
|
|
||||||
<a data-font="sans-bold" href="https://request.chromewatchparty.com" class="link-button"
|
|
||||||
>Get Chrome Extension</a
|
|
||||||
>
|
|
||||||
<a
|
|
||||||
data-font="sans-bold"
|
|
||||||
href="mailto:admin@chromewatchparty.com?subject=User Feedback"
|
|
||||||
class="link-button"
|
|
||||||
>
|
|
||||||
Give Feedback
|
|
||||||
</a>
|
|
||||||
<a data-font="sans-bold" href="./welcome/" class="link-button">
|
|
||||||
Getting Started
|
|
||||||
</a>
|
|
||||||
<a data-font="sans-bold" href="./changes/" class="link-button">
|
|
||||||
Changelog
|
|
||||||
</a>
|
|
||||||
</footer>
|
|
||||||
Reference in New Issue
Block a user