From c1cd509e1af8d3ce6a94b4bd3f1db8df35f1a203 Mon Sep 17 00:00:00 2001 From: Tsachi Shlidor Date: Wed, 10 Apr 2024 16:13:54 +0300 Subject: [PATCH] fix: debug mode analytics --- src/utils/get-analytics-player-options.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/get-analytics-player-options.js b/src/utils/get-analytics-player-options.js index ddcf4a5a..b1723fe9 100644 --- a/src/utils/get-analytics-player-options.js +++ b/src/utils/get-analytics-player-options.js @@ -92,6 +92,7 @@ export const getAnalyticsFromPlayerOptions = (playerOptions) => filterDefaultsAn videoJS: hasConfig(playerOptions.videoJS), width: playerOptions.width, withCredentials: playerOptions.withCredentials, + debug: playerOptions.debug, colors: playerOptions.colors && JSON.stringify(playerOptions.colors), controlBar: (JSON.stringify(playerOptions.controlBar) !== JSON.stringify(defaults.controlBar)) && JSON.stringify(playerOptions.controlBar),