last couple changes

This commit is contained in:
Anthony 2021-08-10 17:18:18 +02:00
parent 38f9570ab4
commit 3c30c2eda4
No known key found for this signature in database
GPG key ID: C386D3C93D50E356
2 changed files with 2 additions and 2 deletions

View file

@ -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) {

View file

@ -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);
});