Skip to content

Commit 4eafdc8

Browse files
committed
Consistently sets self hosted video tracking ID across inpage click and media events
1 parent 9ae227c commit 4eafdc8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dotcom-rendering/src/components/SelfHostedVideoPlayer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ export const SelfHostedVideoPlayer = forwardRef(
206206
const showProgressBar = canShowProgressBar && currentRefExists;
207207
const showIcons = canShowIcons && currentRefExists;
208208

209-
const dataLinkName = `gu-video-${videoStyle}-${
209+
const dataLinkName = `gu-video-${videoStyle.toLowerCase()}-${
210210
showPlayIcon ? 'play' : 'pause'
211211
}-${atomId}`;
212212

0 commit comments

Comments
 (0)