v1.7.11/add paramount and imdb tb
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "watch-party-admin",
|
"name": "watch-party-admin",
|
||||||
"version": "1.7.10",
|
"version": "1.7.11",
|
||||||
"private": true,
|
"private": true,
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@ant-design/icons": "^4.2.2",
|
"@ant-design/icons": "^4.2.2",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "watch-party-crx",
|
"name": "watch-party-crx",
|
||||||
"version": "1.7.10",
|
"version": "1.7.11",
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ try {
|
|||||||
console.info("CHROME ENV");
|
console.info("CHROME ENV");
|
||||||
}
|
}
|
||||||
|
|
||||||
const APP_VERSION = "1.7.10";
|
const APP_VERSION = "1.7.11";
|
||||||
|
|
||||||
const firebaseConfig = {
|
const firebaseConfig = {
|
||||||
apiKey: "AIzaSyCJLuYpzXLDRmu2ttzFuSGmYcpFxqToWFU",
|
apiKey: "AIzaSyCJLuYpzXLDRmu2ttzFuSGmYcpFxqToWFU",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "Watch Party",
|
"name": "Watch Party",
|
||||||
"short_name": "WP",
|
"short_name": "WP",
|
||||||
"version": "1.7.10",
|
"version": "1.7.11",
|
||||||
"description": "Watch streamed content together.",
|
"description": "Watch streamed content together.",
|
||||||
"background": {
|
"background": {
|
||||||
"page": "background.html"
|
"page": "background.html"
|
||||||
@@ -47,6 +47,8 @@
|
|||||||
"https://*.airtelxstream.in/*",
|
"https://*.airtelxstream.in/*",
|
||||||
"https://*.vimeo.com/*",
|
"https://*.vimeo.com/*",
|
||||||
"https://*.dailymotion.com/*",
|
"https://*.dailymotion.com/*",
|
||||||
|
"https://*.imdb.com/tv/*",
|
||||||
|
"https://*.paramountplus.com/*",
|
||||||
"https://api.giphy.com/*",
|
"https://api.giphy.com/*",
|
||||||
"https://*.voxeet.com/*"
|
"https://*.voxeet.com/*"
|
||||||
],
|
],
|
||||||
@@ -89,7 +91,9 @@
|
|||||||
"https://*.hotstar.com/*",
|
"https://*.hotstar.com/*",
|
||||||
"https://*.airtelxstream.in/*",
|
"https://*.airtelxstream.in/*",
|
||||||
"https://*.vimeo.com/*",
|
"https://*.vimeo.com/*",
|
||||||
"https://*.dailymotion.com/*"
|
"https://*.dailymotion.com/*",
|
||||||
|
"https://*.imdb.com/tv/*",
|
||||||
|
"https://*.paramountplus.com/*"
|
||||||
],
|
],
|
||||||
"run_at": "document_idle",
|
"run_at": "document_idle",
|
||||||
"js": ["/static/js/content.js"],
|
"js": ["/static/js/content.js"],
|
||||||
|
|||||||
@@ -43,6 +43,8 @@ export const PLAYER_SOURCE = {
|
|||||||
AIRTEL: "airtelxstream.",
|
AIRTEL: "airtelxstream.",
|
||||||
VIMEO: "vimeo.",
|
VIMEO: "vimeo.",
|
||||||
DAILYMOTION: "dailymotion.",
|
DAILYMOTION: "dailymotion.",
|
||||||
|
IMDB: "imdb.",
|
||||||
|
PARAMOUNTPLUS: "paramountplus.",
|
||||||
LOCAL: "localhost",
|
LOCAL: "localhost",
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -52,6 +54,7 @@ export const getPlayerSource = () => {
|
|||||||
if (HREF.includes(PLAYER_SOURCE.HULU)) return PLAYER_SOURCE.HULU;
|
if (HREF.includes(PLAYER_SOURCE.HULU)) return PLAYER_SOURCE.HULU;
|
||||||
if (HREF.includes(PLAYER_SOURCE.AMAZON)) return PLAYER_SOURCE.AMAZON;
|
if (HREF.includes(PLAYER_SOURCE.AMAZON)) return PLAYER_SOURCE.AMAZON;
|
||||||
if (HREF.includes(PLAYER_SOURCE.PRIMEVIDEO)) return PLAYER_SOURCE.AMAZON;
|
if (HREF.includes(PLAYER_SOURCE.PRIMEVIDEO)) return PLAYER_SOURCE.AMAZON;
|
||||||
|
if (HREF.includes(PLAYER_SOURCE.IMDB)) return PLAYER_SOURCE.AMAZON;
|
||||||
if (HREF.includes(PLAYER_SOURCE.DISNEY)) return PLAYER_SOURCE.DISNEY;
|
if (HREF.includes(PLAYER_SOURCE.DISNEY)) return PLAYER_SOURCE.DISNEY;
|
||||||
if (HREF.includes(PLAYER_SOURCE.YOUTUBE)) return PLAYER_SOURCE.YOUTUBE;
|
if (HREF.includes(PLAYER_SOURCE.YOUTUBE)) return PLAYER_SOURCE.YOUTUBE;
|
||||||
if (HREF.includes(PLAYER_SOURCE.HBONOW)) return PLAYER_SOURCE.HBONOW;
|
if (HREF.includes(PLAYER_SOURCE.HBONOW)) return PLAYER_SOURCE.HBONOW;
|
||||||
@@ -71,6 +74,7 @@ export const getPlayerSource = () => {
|
|||||||
if (HREF.includes(PLAYER_SOURCE.VIMEO)) return PLAYER_SOURCE.VIMEO;
|
if (HREF.includes(PLAYER_SOURCE.VIMEO)) return PLAYER_SOURCE.VIMEO;
|
||||||
if (HREF.includes(PLAYER_SOURCE.DAILYMOTION))
|
if (HREF.includes(PLAYER_SOURCE.DAILYMOTION))
|
||||||
return PLAYER_SOURCE.DAILYMOTION;
|
return PLAYER_SOURCE.DAILYMOTION;
|
||||||
|
if (HREF.includes(PLAYER_SOURCE.PARAMOUNTPLUS)) return PLAYER_SOURCE.PARAMOUNTPLUS;
|
||||||
if (HREF.includes(PLAYER_SOURCE.LOCAL)) return PLAYER_SOURCE.LOCAL;
|
if (HREF.includes(PLAYER_SOURCE.LOCAL)) return PLAYER_SOURCE.LOCAL;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ import {
|
|||||||
} from "./Api";
|
} from "./Api";
|
||||||
import Tutorial from "./Tutorial";
|
import Tutorial from "./Tutorial";
|
||||||
|
|
||||||
const APP_VERSION = "1.7.10";
|
const APP_VERSION = "1.7.11";
|
||||||
|
|
||||||
const darkTheme = createMuiTheme({
|
const darkTheme = createMuiTheme({
|
||||||
palette: {
|
palette: {
|
||||||
|
|||||||
@@ -1036,8 +1036,8 @@ export default class Chat extends Component {
|
|||||||
title={
|
title={
|
||||||
onCall
|
onCall
|
||||||
? usingVideo
|
? usingVideo
|
||||||
? "Stop Video"
|
? "Video is On"
|
||||||
: "Start Video"
|
: "Video is Off"
|
||||||
: "Join Video Call"
|
: "Join Video Call"
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
@@ -1047,9 +1047,9 @@ export default class Chat extends Component {
|
|||||||
? () => this.handleVideo()
|
? () => this.handleVideo()
|
||||||
: () => this.handlePhoneCall(true)
|
: () => this.handlePhoneCall(true)
|
||||||
}
|
}
|
||||||
color={usingVideo ? "primary" : "secondary"}
|
color={((onCall && usingVideo) || !onCall) ? "secondary" : "primary"}
|
||||||
>
|
>
|
||||||
{usingVideo ? <VideocamOffRounded /> : <VideocamRounded />}
|
{((onCall && usingVideo) || !onCall)? <VideocamRounded /> : <VideocamOffRounded />}
|
||||||
</IconButton>
|
</IconButton>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
)}
|
)}
|
||||||
@@ -1071,18 +1071,7 @@ export default class Chat extends Component {
|
|||||||
</Tooltip>
|
</Tooltip>
|
||||||
)}
|
)}
|
||||||
{!gif && !newMessage && onCall && !muted ? (
|
{!gif && !newMessage && onCall && !muted ? (
|
||||||
<Tooltip title="Mute Mic" placement="top">
|
<Tooltip title="Mic is On" placement="top">
|
||||||
<IconButton
|
|
||||||
className="icon-button"
|
|
||||||
disabled={callActionPending}
|
|
||||||
onClick={this.handleMute}
|
|
||||||
color="primary"
|
|
||||||
>
|
|
||||||
<MicOff />
|
|
||||||
</IconButton>
|
|
||||||
</Tooltip>
|
|
||||||
) : !gif && !newMessage && onCall && muted ? (
|
|
||||||
<Tooltip title="Unmute Mic" placement="top">
|
|
||||||
<IconButton
|
<IconButton
|
||||||
className="icon-button"
|
className="icon-button"
|
||||||
disabled={callActionPending}
|
disabled={callActionPending}
|
||||||
@@ -1092,6 +1081,17 @@ export default class Chat extends Component {
|
|||||||
<MicOn />
|
<MicOn />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
) : !gif && !newMessage && onCall && muted ? (
|
||||||
|
<Tooltip title="Mic is Off" placement="top">
|
||||||
|
<IconButton
|
||||||
|
className="icon-button"
|
||||||
|
disabled={callActionPending}
|
||||||
|
onClick={this.handleMute}
|
||||||
|
color="primary"
|
||||||
|
>
|
||||||
|
<MicOff />
|
||||||
|
</IconButton>
|
||||||
|
</Tooltip>
|
||||||
) : null}
|
) : null}
|
||||||
<TextField
|
<TextField
|
||||||
color="secondary"
|
color="secondary"
|
||||||
|
|||||||
@@ -136,6 +136,7 @@ export default class VideoListener {
|
|||||||
case PLAYER_SOURCE.AIRTEL:
|
case PLAYER_SOURCE.AIRTEL:
|
||||||
case PLAYER_SOURCE.VIMEO:
|
case PLAYER_SOURCE.VIMEO:
|
||||||
case PLAYER_SOURCE.DAILYMOTION:
|
case PLAYER_SOURCE.DAILYMOTION:
|
||||||
|
case PLAYER_SOURCE.PARAMOUNTPLUS:
|
||||||
this.video.element.currentTime = serverPlayer.time;
|
this.video.element.currentTime = serverPlayer.time;
|
||||||
await this.timeout(500);
|
await this.timeout(500);
|
||||||
break;
|
break;
|
||||||
@@ -569,6 +570,7 @@ export default class VideoListener {
|
|||||||
case PLAYER_SOURCE.AIRTEL:
|
case PLAYER_SOURCE.AIRTEL:
|
||||||
case PLAYER_SOURCE.VIMEO:
|
case PLAYER_SOURCE.VIMEO:
|
||||||
case PLAYER_SOURCE.DAILYMOTION:
|
case PLAYER_SOURCE.DAILYMOTION:
|
||||||
|
case PLAYER_SOURCE.PARAMOUNTPLUS:
|
||||||
setInterval(() => {
|
setInterval(() => {
|
||||||
var newVideoElement = document.querySelector(vS);
|
var newVideoElement = document.querySelector(vS);
|
||||||
if (
|
if (
|
||||||
|
|||||||
@@ -365,6 +365,17 @@ body.visible.hbo
|
|||||||
body.visible.hbo > div.default > div:nth-child(2) > div > div > div > div {
|
body.visible.hbo > div.default > div:nth-child(2) > div > div > div > div {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
/* IMDB FIXES */
|
||||||
|
body.visible.imdb-tv {
|
||||||
|
max-width: var(--body-width) !important;
|
||||||
|
}
|
||||||
|
body.visible.imdb-tv .freedive-video-container .freedive-video-modal.modal__open {
|
||||||
|
max-width: var(--body-width);
|
||||||
|
}
|
||||||
|
/* PARAMOUNT FIXES */
|
||||||
|
body.visible.paramountplus header {
|
||||||
|
max-width: var(--body-width);
|
||||||
|
}
|
||||||
|
|
||||||
#party-loading {
|
#party-loading {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|||||||
@@ -57,6 +57,9 @@ switch (getPlayerSource()) {
|
|||||||
document.body.classList.add("hulu");
|
document.body.classList.add("hulu");
|
||||||
break;
|
break;
|
||||||
case PLAYER_SOURCE.AMAZON:
|
case PLAYER_SOURCE.AMAZON:
|
||||||
|
if (window.location.href.includes(PLAYER_SOURCE.IMDB)) {
|
||||||
|
document.body.classList.add("imdb-tv");
|
||||||
|
}
|
||||||
document.body.classList.add("amazon-prime");
|
document.body.classList.add("amazon-prime");
|
||||||
break;
|
break;
|
||||||
case PLAYER_SOURCE.DISNEY:
|
case PLAYER_SOURCE.DISNEY:
|
||||||
@@ -152,6 +155,9 @@ switch (getPlayerSource()) {
|
|||||||
document.body.classList.add("dailymotion");
|
document.body.classList.add("dailymotion");
|
||||||
document.querySelector("html").style.fontSize = "10px";
|
document.querySelector("html").style.fontSize = "10px";
|
||||||
break;
|
break;
|
||||||
|
case PLAYER_SOURCE.PARAMOUNTPLUS:
|
||||||
|
document.body.classList.add("paramountplus");
|
||||||
|
break;
|
||||||
case PLAYER_SOURCE.LOCAL:
|
case PLAYER_SOURCE.LOCAL:
|
||||||
document.body.classList.add("local");
|
document.body.classList.add("local");
|
||||||
break;
|
break;
|
||||||
|
|||||||
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 163 KiB |
|
After Width: | Height: | Size: 166 KiB |
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "watch-party-api",
|
"name": "watch-party-api",
|
||||||
"version": "1.7.10",
|
"version": "1.7.11",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "watch-party-api",
|
"name": "watch-party-api",
|
||||||
"version": "1.7.10",
|
"version": "1.7.11",
|
||||||
"description": "Cloud Functions for Watch Party",
|
"description": "Cloud Functions for Watch Party",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "watch-party",
|
"name": "watch-party",
|
||||||
"version": "1.7.10",
|
"version": "1.7.11",
|
||||||
"description": "Watch Party",
|
"description": "Watch Party",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "firebase emulators:start",
|
"start": "firebase emulators:start",
|
||||||
|
|||||||
@@ -252,6 +252,13 @@ COPIED, EDITED, OR REPRODUCED WITHOUT PERMISSION.
|
|||||||
Dailymotion logo is a trademark and intellectual property of
|
Dailymotion logo is a trademark and intellectual property of
|
||||||
Dailymotion.
|
Dailymotion.
|
||||||
</p>
|
</p>
|
||||||
|
<p data-font="sans" class="body">
|
||||||
|
IMDB TV logo is a trademark and intellectual property of
|
||||||
|
IMDb.com, Inc.
|
||||||
|
</p>
|
||||||
|
<p data-font="sans" class="body">
|
||||||
|
Paramount + logo is a trademark and intellectual property of ViacomCBS.
|
||||||
|
</p>
|
||||||
<p data-font="sans" class="body">
|
<p data-font="sans" class="body">
|
||||||
Google Chrome logo is a trademark and intellectual property of
|
Google Chrome logo is a trademark and intellectual property of
|
||||||
Google, Inc.
|
Google, Inc.
|
||||||
|
|||||||
@@ -244,6 +244,8 @@ COPIED, EDITED, OR REPRODUCED WITHOUT PERMISSION.
|
|||||||
<div id="airtel" class="support-card"></div>
|
<div id="airtel" class="support-card"></div>
|
||||||
<div id="vimeo" class="support-card"></div>
|
<div id="vimeo" class="support-card"></div>
|
||||||
<div id="dailymotion" class="support-card"></div>
|
<div id="dailymotion" class="support-card"></div>
|
||||||
|
<div id="imdb" class="support-card"></div>
|
||||||
|
<div id="paramount" class="support-card"></div>
|
||||||
</div>
|
</div>
|
||||||
<div id="features" class="features bubble left">
|
<div id="features" class="features bubble left">
|
||||||
<div class="text-section">
|
<div class="text-section">
|
||||||
|
|||||||
|
After Width: | Height: | Size: 8.8 KiB |
|
After Width: | Height: | Size: 8.7 KiB |
|
After Width: | Height: | Size: 76 KiB |
|
After Width: | Height: | Size: 43 KiB |
@@ -69,3 +69,9 @@ COPIED, EDITED, OR REPRODUCED WITHOUT PERMISSION.
|
|||||||
.card-grid .support-card#airtel {
|
.card-grid .support-card#airtel {
|
||||||
background-image: url('/media/logos/AirtelWhite.webp');
|
background-image: url('/media/logos/AirtelWhite.webp');
|
||||||
}
|
}
|
||||||
|
.card-grid .support-card#imdb {
|
||||||
|
background-image: url('/media/logos/ImdbTvWhite.webp');
|
||||||
|
}
|
||||||
|
.card-grid .support-card#paramount {
|
||||||
|
background-image: url('/media/logos/ParamountPlusWhite.webp');
|
||||||
|
}
|
||||||
|
|||||||
@@ -74,3 +74,9 @@ AMITABH, AND MAY NOT BE COPIED, EDITED, OR REPRODUCED WITHOUT PERMISSION.
|
|||||||
.card-grid .support-card#dailymotion {
|
.card-grid .support-card#dailymotion {
|
||||||
background-image: url('/media/logos/Dailymotion.webp');
|
background-image: url('/media/logos/Dailymotion.webp');
|
||||||
}
|
}
|
||||||
|
.card-grid .support-card#imdb {
|
||||||
|
background-image: url('/media/logos/ImdbTvColor.webp');
|
||||||
|
}
|
||||||
|
.card-grid .support-card#paramount {
|
||||||
|
background-image: url('/media/logos/ParamountPlusColor.webp');
|
||||||
|
}
|
||||||
|
|||||||
@@ -303,6 +303,8 @@ COPIED, EDITED, OR REPRODUCED WITHOUT PERMISSION.
|
|||||||
id="dailymotion"
|
id="dailymotion"
|
||||||
class="support-card"
|
class="support-card"
|
||||||
></a>
|
></a>
|
||||||
|
<a href="https://www.imdb.com/tv/" id="imdb" class="support-card"></a>
|
||||||
|
<a href="https://www.paramountplus.com" id="paramount" class="support-card"></a>
|
||||||
</div>
|
</div>
|
||||||
<div id="tips" class="text-section">
|
<div id="tips" class="text-section">
|
||||||
<div class="info">
|
<div class="info">
|
||||||
|
|||||||