Skip to content

Commit 2ab86fe

Browse files
committed
Fix height and width for stories.
1 parent 1fe096f commit 2ab86fe

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ export const Default = {
2121
args: {
2222
src: 'https://uploads.guim.co.uk/2024/10/01/241001HeleneLoop_2.mp4',
2323
videoId: 'test-video-1',
24-
height: 337.5,
25-
width: 600,
24+
height: 1080,
25+
width: 1920,
2626
thumbnailImage:
2727
'https://media.guim.co.uk/9bdb802e6da5d3fd249b5060f367b3a817965f0c/0_0_1800_1080/master/1800.jpg',
2828
fallbackImageComponent: (
@@ -39,6 +39,8 @@ export const WithWebmFile = {
3939
name: 'With Webm File',
4040
args: {
4141
...Default.args,
42+
height: 496,
43+
width: 620,
4244
src: 'https://interactive.guim.co.uk/atoms/2023/01/2025-trump-100-days/assets/v/1746020259/videos/header-video.webm',
4345
},
4446
} satisfies StoryObj<typeof LoopVideo>;

0 commit comments

Comments
 (0)