last couple changes
This commit is contained in:
parent
38f9570ab4
commit
3c30c2eda4
2 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue