Skip to content

Commit 92ae576

Browse files
authored
Merge pull request #14121 from guardian/doml/loop-stories
Update Loop Video stories
2 parents 631007f + 4b1d913 commit 92ae576

File tree

1 file changed

+8
-15
lines changed

1 file changed

+8
-15
lines changed

dotcom-rendering/src/components/LoopVideo.stories.tsx

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ export default {
1919
export const Default = {
2020
name: 'Default',
2121
args: {
22-
src: 'https://uploads.guim.co.uk/2024/10/01/241001HeleneLoop_2.mp4',
22+
src: 'https://uploads.guim.co.uk/2025%2F06%2F20%2Ftesting+only%2C+please+ignore--3cb22b60-2c3f-48d6-8bce-38c956907cce-3.mp4',
2323
videoId: 'test-video-1',
24-
height: 1080,
25-
width: 1920,
24+
height: 720,
25+
width: 900,
2626
thumbnailImage:
2727
'https://media.guim.co.uk/9bdb802e6da5d3fd249b5060f367b3a817965f0c/0_0_1800_1080/master/1800.jpg',
2828
fallbackImageComponent: (
@@ -35,20 +35,13 @@ export const Default = {
3535
},
3636
} satisfies StoryObj<typeof LoopVideo>;
3737

38-
export const WithWebmFile = {
39-
name: 'With Webm File',
38+
export const Without5to4Ratio = {
39+
name: 'Without 5:4 aspect ratio',
4040
args: {
4141
...Default.args,
42-
height: 496,
43-
width: 620,
44-
src: 'https://interactive.guim.co.uk/atoms/2023/01/2025-trump-100-days/assets/v/1746020259/videos/header-video.webm',
45-
},
46-
} satisfies StoryObj<typeof LoopVideo>;
4742

48-
export const WithoutAudio = {
49-
name: 'Without Audio',
50-
args: {
51-
...Default.args,
52-
hasAudio: false,
43+
src: 'https://uploads.guim.co.uk/2024/10/01/241001HeleneLoop_2.mp4',
44+
height: 1080,
45+
width: 1920,
5346
},
5447
} satisfies StoryObj<typeof LoopVideo>;

0 commit comments

Comments
 (0)