videoplayer "md:w-2/3 sm:w-full"

This commit is contained in:
Bernt Christian Egeland 2021-08-19 18:27:10 +02:00
parent 6514f79b36
commit a969b7435e

View File

@ -87,7 +87,7 @@ export default function VideoPlayer({ children, options, seekOptions = {}, onRea
}, []); // eslint-disable-line react-hooks/exhaustive-deps }, []); // eslint-disable-line react-hooks/exhaustive-deps
return ( return (
<div data-vjs-player> <div className="md:w-2/3 sm:w-full m-auto">
<video ref={playerRef} className="video-js vjs-default-skin" controls playsinline /> <video ref={playerRef} className="video-js vjs-default-skin" controls playsinline />
{children} {children}
</div> </div>