File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
dotcom-rendering/src/components Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ const audioButtonStyles = css`
47
47
48
48
type Props = {
49
49
src : string ;
50
- videoId ? : string ;
50
+ videoId : string ;
51
51
width ?: number ;
52
52
height ?: number ;
53
53
hasAudio ?: boolean ;
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ export const Default = {
14
14
name : 'Default' ,
15
15
args : {
16
16
src : 'https://uploads.guim.co.uk/2024/10/01/241001HeleneLoop_2.mp4' ,
17
+ videoId : 'test-video-1' ,
17
18
fallbackImage : (
18
19
< CardPicture
19
20
mainImage = "https://i.guim.co.uk/img/media/13dd7e5c4ca32a53cd22dfd90ac1845ef5e5d643/91_0_1800_1080/master/1800.jpg?width=465& dpr = 1 & s = none & crop = 5 % 3 A4 "
@@ -24,7 +25,7 @@ export const Default = {
24
25
} ,
25
26
} satisfies StoryObj < typeof LoopVideo > ;
26
27
27
- export const WithouAudio = {
28
+ export const WithoutAudio = {
28
29
name : 'Without Audio' ,
29
30
args : {
30
31
...Default . args ,
You can’t perform that action at this time.
0 commit comments