Skip to content

Commit 51e2f91

Browse files
authored
Merge pull request #2136 from navikt/qbrick-cookie
Qbrick cookie
2 parents d31976e + 5162abd commit 51e2f91

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

next-env.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
/// <reference types="next/image-types/global" />
33

44
// NOTE: This file should not be edited
5-
// see https://nextjs.org/docs/basic-features/typescript for more information.
5+
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.

src/components/_common/qbrick-video/QbrickVideo.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ export const QbrickVideo = (props: QbrickVideoProps) => {
100100
className={classNames(style.macroVideo, playerState !== 'ready' && style.hidden)}
101101
id={videoContainerId}
102102
title={title}
103+
data-qplayer-analytics="off"
103104
/>
104105
</div>
105106
);

src/components/_common/qbrick-video/useQbrickPlayerState.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ const createAndStart = (
9898
language,
9999
autoplay: true,
100100
widgetId,
101+
ignoreAnalytics: true,
101102
})
102103
.on('ready', () => {
103104
setPlayerState('ready');

0 commit comments

Comments
 (0)