From 4749352a4a1972d536ee7449273ae8266757bf53 Mon Sep 17 00:00:00 2001 From: Tsachi Shlidor Date: Sun, 14 Apr 2024 10:16:40 +0300 Subject: [PATCH] fix: debug mode analytics (#611) --- 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),