diff --git a/ui/analytics.js b/ui/analytics.js index 0bc134b87..b0a269520 100644 --- a/ui/analytics.js +++ b/ui/analytics.js @@ -18,7 +18,7 @@ export const SHARE_INTERNAL = 'shareInternal'; const SHARE_THIRD_PARTY = 'shareThirdParty'; const WATCHMAN_BACKEND_ENDPOINT = 'https://watchman.na-backend.odysee.com/reports/playback'; -const SEND_DATA_TO_WATCHMAN_INTERVAL = 30; // in seconds +const SEND_DATA_TO_WATCHMAN_INTERVAL = 10; // in seconds // @if TARGET='app' if (isProduction) { diff --git a/ui/component/viewers/videoViewer/view.jsx b/ui/component/viewers/videoViewer/view.jsx index c29ebf862..650f96c01 100644 --- a/ui/component/viewers/videoViewer/view.jsx +++ b/ui/component/viewers/videoViewer/view.jsx @@ -143,7 +143,7 @@ function VideoViewer(props: Props) { analytics.playerStartedEvent(embedded); fetch(source, { method: 'HEAD', cache: 'no-store' }).then((response) => { - var playerPoweredBy = response.headers.get('x-powered-by'); + let playerPoweredBy = response.headers.get('x-powered-by'); analytics.videoStartEvent(claimId, timeToStart, playerPoweredBy, userId, claim.canonical_url, this); });