Skip to content

Commit 57b710a

Browse files
committed
Update story name
1 parent 1b0095d commit 57b710a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ const meta = {
2020
export default meta;
2121
type Story = StoryObj<typeof SelfHostedVideo>;
2222

23-
export const Default: Story = {
24-
name: 'Default',
23+
export const Loop4to5: Story = {
24+
name: 'Looping video in 4:5 aspect ratio',
2525
args: {
2626
sources: [
2727
{
@@ -56,10 +56,10 @@ export const Default: Story = {
5656
// },
5757
// };
5858

59-
export const Without5to4Ratio: Story = {
60-
name: 'Without 5:4 aspect ratio',
59+
export const Loop16to9: Story = {
60+
name: 'Looping video in 16:9 aspect ratio',
6161
args: {
62-
...Default.args,
62+
...Loop4to5.args,
6363
sources: [
6464
{
6565
src: 'https://uploads.guim.co.uk/2024/10/01/241001HeleneLoop_2.mp4',
@@ -72,7 +72,7 @@ export const Without5to4Ratio: Story = {
7272
};
7373

7474
export const PausePlay: Story = {
75-
...Default,
75+
...Loop4to5,
7676
name: 'Pause and play interaction',
7777
play: async ({ canvasElement }) => {
7878
const canvas = within(canvasElement);
@@ -93,7 +93,7 @@ export const PausePlay: Story = {
9393
};
9494

9595
export const UnmuteMute: Story = {
96-
...Default,
96+
...Loop4to5,
9797
name: 'Unmute and mute interaction',
9898
parameters: {
9999
test: {
@@ -120,7 +120,7 @@ function sleep(ms: number) {
120120
}
121121

122122
export const InteractionObserver: Story = {
123-
...Default,
123+
...Loop4to5,
124124
name: 'Interaction observer',
125125
render: (args) => (
126126
<div data-testid="test-container">

0 commit comments

Comments
 (0)