Ver Fonte

宽高不限

visuddhinanda há 2 anos atrás
pai
commit
7f38cdc5d1
1 ficheiros alterados com 5 adições e 1 exclusões
  1. 5 1
      dashboard/src/components/general/VideoPlayer.tsx

+ 5 - 1
dashboard/src/components/general/VideoPlayer.tsx

@@ -47,7 +47,11 @@ const VideoPlayerWidget = ({ options, onReady }: IProps) => {
 
   return (
     <div data-vjs-player>
-      <div ref={videoRef} className="video-js" />
+      <div
+        ref={videoRef}
+        className="video-js"
+        style={{ width: "unset", height: "unset" }}
+      />
     </div>
   );
 };