@@ -20,8 +20,8 @@ const meta = {
2020export default meta ;
2121type 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
7474export 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
9595export 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
122122export const InteractionObserver : Story = {
123- ...Default ,
123+ ...Loop4to5 ,
124124 name : 'Interaction observer' ,
125125 render : ( args ) => (
126126 < div data-testid = "test-container" >
0 commit comments