From 39a9c45ca06f5e1676646e89331091533b555fcc Mon Sep 17 00:00:00 2001 From: Ayushya Amitabh Date: Sun, 13 Dec 2020 14:32:52 -0500 Subject: [PATCH] v1.7.9/release --- admin/package.json | 2 +- app/package.json | 2 +- app/public/background.js | 2 +- app/public/manifest.json | 2 +- app/src/App.js | 2 +- app/src/VideoListener.js | 10 - app/src/index.css | 16 ++ functions/package.json | 2 +- package.json | 2 +- website/changes/index.html | 1 + website/changes/v1.7.9/index.html | 302 ++++++++++++++++++++++++++++++ 11 files changed, 326 insertions(+), 17 deletions(-) create mode 100644 website/changes/v1.7.9/index.html diff --git a/admin/package.json b/admin/package.json index d539dae..a6b27bb 100644 --- a/admin/package.json +++ b/admin/package.json @@ -1,6 +1,6 @@ { "name": "watch-party-admin", - "version": "1.7.8", + "version": "1.7.9", "private": true, "devDependencies": { "@ant-design/icons": "^4.2.2", diff --git a/app/package.json b/app/package.json index 1e658d7..634fd1b 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "watch-party-crx", - "version": "1.7.8", + "version": "1.7.9", "private": true, "dependencies": {}, "scripts": { diff --git a/app/public/background.js b/app/public/background.js index fe3388b..635406c 100644 --- a/app/public/background.js +++ b/app/public/background.js @@ -26,7 +26,7 @@ try { console.info("CHROME ENV"); } -const APP_VERSION = "1.7.8"; +const APP_VERSION = "1.7.9"; const APP_VERSION_STRING = APP_VERSION.replace(/\./g, ""); const firebaseConfig = { diff --git a/app/public/manifest.json b/app/public/manifest.json index fcf4cb4..3ddd2e2 100644 --- a/app/public/manifest.json +++ b/app/public/manifest.json @@ -1,7 +1,7 @@ { "name": "Watch Party", "short_name": "WP", - "version": "1.7.8", + "version": "1.7.9", "description": "Watch streamed content together.", "background": { "page": "background.html" diff --git a/app/src/App.js b/app/src/App.js index 798d6c0..25276e9 100644 --- a/app/src/App.js +++ b/app/src/App.js @@ -34,7 +34,7 @@ import { } from "./Api"; import Tutorial from "./Tutorial"; -const APP_VERSION = "1.7.8"; +const APP_VERSION = "1.7.9"; const APP_VERSION_STRING = APP_VERSION.replace(/\./g, ""); const darkTheme = createMuiTheme({ diff --git a/app/src/VideoListener.js b/app/src/VideoListener.js index 9e65422..acceb96 100644 --- a/app/src/VideoListener.js +++ b/app/src/VideoListener.js @@ -427,11 +427,6 @@ export default class VideoListener { document.head.appendChild(hboSeekInjectScript); const hboVideoElement = document.querySelector(vS); if (hboVideoElement) { - const bottomHalf = - hboVideoElement.parentNode.parentNode.parentNode.parentNode - .parentNode.children[1]; - bottomHalf.children[0].id = "hboUpperTitle"; - bottomHalf.children[1].id = "hboLowerTitle"; this.firstTimeSync(hboVideoElement); } else { setInterval( @@ -444,11 +439,6 @@ export default class VideoListener { hve !== undefined && (this.video.element !== hve || this.video.element === null) ) { - const bottomHalf = - hve.parentNode.parentNode.parentNode.parentNode.parentNode - .children[1]; - bottomHalf.children[0].id = "hboUpperTitle"; - bottomHalf.children[1].id = "hboLowerTitle"; this.firstTimeSync(hve); } }, diff --git a/app/src/index.css b/app/src/index.css index 098d11a..be762bd 100644 --- a/app/src/index.css +++ b/app/src/index.css @@ -349,6 +349,22 @@ body.dailymotion.visible #player-wrapper { height: var(--dailymotion-player-height); left: var(--dailymotion-player-left) !important; } +/* HBO */ +body.visible.hbo video.default { + min-width: var(--body-width); + max-width: var(--body-width); +} +body.visible.hbo > div.default > div:nth-child(2) > div:nth-of-type(1), +body.visible.hbo > div.default > div:nth-child(2) > div:nth-of-type(1) > div, +body.visible.hbo + > div.default + > div:nth-child(2) + > div:nth-of-type(1) + > div + > div, +body.visible.hbo > div.default > div:nth-child(2) > div > div > div > div { + width: 100%; +} #party-loading { position: absolute; diff --git a/functions/package.json b/functions/package.json index 49e5008..13d4cbd 100644 --- a/functions/package.json +++ b/functions/package.json @@ -1,6 +1,6 @@ { "name": "watch-party-api", - "version": "1.7.8", + "version": "1.7.9", "description": "Cloud Functions for Watch Party", "scripts": { "lint": "eslint .", diff --git a/package.json b/package.json index 7526cf5..6040d76 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "watch-party", - "version": "1.7.8", + "version": "1.7.9", "description": "Watch Party", "scripts": { "start": "firebase emulators:start", diff --git a/website/changes/index.html b/website/changes/index.html index b4f0386..312109c 100644 --- a/website/changes/index.html +++ b/website/changes/index.html @@ -208,6 +208,7 @@ COPIED, EDITED, OR REPRODUCED WITHOUT PERMISSION. v1.7.6 v1.7.7 v1.7.8 + v1.7.9