aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTeddy Wing2021-08-14 21:57:18 +0200
committerTeddy Wing2021-08-14 21:57:18 +0200
commit47666d9341d6902e59bc8a1fcbf58efba7c03989 (patch)
treef6e380cc09fd9696ab09bc08afc65687aadefd5e /src
parentb0be4947ab35876fd004d1fbd8ec9fa7e90b6786 (diff)
downloadnetflix-immersive-47666d9341d6902e59bc8a1fcbf58efba7c03989.tar.bz2
fullscreen_credits: Log when credit handling happens
This allows us to confirm in the logs that we started handling credits.
Diffstat (limited to 'src')
-rw-r--r--src/fullscreen_credits.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fullscreen_credits.ts b/src/fullscreen_credits.ts
index cb78551..247d31b 100644
--- a/src/fullscreen_credits.ts
+++ b/src/fullscreen_credits.ts
@@ -16,6 +16,7 @@
// along with Immersive. If not, see <https://www.gnu.org/licenses/>.
import controls from './controls';
+import logger from './logger';
import wait_element from './wait_element';
@@ -30,6 +31,8 @@ function init_mutation_observer (player) {
// The `postplay` class minimises the movie. Remove it if it gets
// added to remain in full frame.
if (player.classList.contains('watch-video--player-view-minimized')) {
+ logger.debug('fullscreen_credits', 'init_mutation_observer()', 'Maximising');
+
player.classList.remove('watch-video--player-view-minimized');
// Resize the video to full frame. Otherwise it will shrink for