You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| height | The height of the video container (**required**) |`number`| required |
83
82
| videoSrc | Video address (**required**) |`string`| required |
83
+
| mode | Video zoom mode |`scaleToFill`(Does not maintain the aspect ratio to scale the video),`widthFix`(The width is unchanged, and the height changes automatically, keeping the aspect ratio of the original video unchanged),`heightFix`(When the height is unchanged, the width changes automatically, keeping the aspect ratio of the original video unchanged) |`scaleToFill`|
84
+
| height | The height of the video container |`number`| - |
84
85
| width | The width of the video container |`number`| - |
86
+
| autoPlay | Video autoplay |`boolean`| false |
85
87
| theme | theme |`string`|\#ffb821 |
86
88
| poster | Video cover image |`string`| - |
87
89
| setEndPlayContent | Customize what is displayed at the end of the video |`React.ReactNode`| - |
0 commit comments