File tree Expand file tree Collapse file tree 1 file changed +18
-17
lines changed
Expand file tree Collapse file tree 1 file changed +18
-17
lines changed Original file line number Diff line number Diff line change @@ -50,23 +50,24 @@ export interface VideoPlayerProps extends React.HTMLAttributes<HTMLDivElement> {
5050 * The sources of the video
5151 * @default []
5252 * @example
53- * ```tsx
54- * <VideoPlayer
55- * sources={[
56- * {
57- * src: "https://vjs.zencdn.net/v/oceans.mp4",
58- * type: "video/mp4",
59- * },
60- * {
61- * src: "https://vjs.zencdn.net/v/oceans.webm",
62- * type: "video/webm",
63- * },
64- * {
65- * src: "https://vjs.zencdn.net/v/oceans.ogv",
66- * type: "video/ogg",
67- * },
68- * ]}
69- * />
53+ ```ts
54+ <VideoPlayer
55+ sources={[
56+ {
57+ src: "https://vjs.zencdn.net/v/oceans.mp4",
58+ type: "video/mp4",
59+ },
60+ {
61+ src: "https://vjs.zencdn.net/v/oceans.webm",
62+ type: "video/webm",
63+ },
64+ {
65+ src: "https://vjs.zencdn.net/v/oceans.ogv",
66+ type: "video/ogg",
67+ },
68+ ]}
69+ />
70+ ```
7071 */
7172 sources ?: {
7273 src : string ;
You can’t perform that action at this time.
0 commit comments