diff --git a/src/components/NoteText/NoteText.svelte b/src/components/NoteText/NoteText.svelte index 01865563..09d76c5f 100644 --- a/src/components/NoteText/NoteText.svelte +++ b/src/components/NoteText/NoteText.svelte @@ -39,6 +39,7 @@ p { @include body-note; @include text-sm; + @include font-light; } } diff --git a/src/components/Video/Video.stories.svelte b/src/components/Video/Video.stories.svelte index 77ea26ec..468711f9 100644 --- a/src/components/Video/Video.stories.svelte +++ b/src/components/Video/Video.stories.svelte @@ -39,7 +39,7 @@ ariaDescription: 'Compulsory description of your video for screen readers.', src: SilentVideo, width: 'wide', - caption: 'Optional caption for your video.', + notes: 'Optional caption for your video.', }}" /> @@ -50,7 +50,7 @@ src: SilentVideo, width: 'normal', loopVideo: true, - caption: + notes: "World's longest glass bridge opens to public in Vietnam. (c) 2022 Thomson Reuters", playVideoThreshold: 0.9, }}" @@ -63,7 +63,7 @@ ariaDescription: 'Compulsory description of your video for screen readers.', src: SilentVideo, width: 'normal', - caption: + notes: "World's longest glass bridge opens to public in Vietnam. (c) 2022 Thomson Reuters", playVideoThreshold: 0.9, controlsColour: 'white', @@ -82,7 +82,7 @@ ariaDescription: 'Compulsory description of your video for screen readers.', src: SoundVideo, width: 'normal', - caption: + notes: "World's longest glass bridge opens to public in Vietnam. (c) 2022 Thomson Reuters", playVideoThreshold: 0.9, showControls: true, diff --git a/src/components/Video/Video.svelte b/src/components/Video/Video.svelte index 71eb9367..2c3398c2 100644 --- a/src/components/Video/Video.svelte +++ b/src/components/Video/Video.svelte @@ -2,9 +2,9 @@ - + caption="{'Optional caption for your video.'}" +/> ``` diff --git a/src/components/Video/stories/docs/controls.md b/src/components/Video/stories/docs/controls.md index b101c40c..87e8f916 100644 --- a/src/components/Video/stories/docs/controls.md +++ b/src/components/Video/stories/docs/controls.md @@ -22,7 +22,7 @@ Here is an example with bottom right corner white opaque controls, with a replay import { Video } from '@reuters-graphics/graphics-components'; - + hoverToSeeControls="{true}" +/> ``` diff --git a/src/components/Video/stories/docs/playAndLoop.md b/src/components/Video/stories/docs/playAndLoop.md index 584dbc21..03427fd0 100644 --- a/src/components/Video/stories/docs/playAndLoop.md +++ b/src/components/Video/stories/docs/playAndLoop.md @@ -18,10 +18,11 @@ Here is an example of what the same video would look like with a visibility thre import { Video } from '@reuters-graphics/graphics-components'; - + playVideoThreshold="{0.9}" +/> ``` diff --git a/src/components/Video/stories/docs/withSound.md b/src/components/Video/stories/docs/withSound.md index 1287da4b..50620899 100644 --- a/src/components/Video/stories/docs/withSound.md +++ b/src/components/Video/stories/docs/withSound.md @@ -24,12 +24,13 @@ and go to the top. Click anywhere on the page before scrolling down to the video import { Video } from '@reuters-graphics/graphics-components'; - + allowSoundToAutoplay="{true}" +/> ```