Skip to content

Commit d8f8cd0

Browse files
authored
Merge pull request #15739 from guardian/sh/use-consistent-lower-case-self-hosted-video-id
Consistently sets self hosted video tracking ID
2 parents 9ae227c + 4eafdc8 commit d8f8cd0

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)