docs: add video to quickstart (#7512)

This commit is contained in:
mffap
2024-03-06 20:31:49 +02:00
committed by GitHub
parent 3af28d29d2
commit 383b68b48f
6 changed files with 71 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
import React from "react";
import ReactPlayer from 'react-player'
export function ResponsivePlayer({ url, ...props }) {
return (
<div className='player-wrapper'>
<ReactPlayer
className='react-player'
url={url}
width='100%'
height='100%'
{...props}
/>
</div>
);
}