visuddhinanda %!s(int64=2) %!d(string=hai) anos
pai
achega
ecc4145814
Modificáronse 1 ficheiros con 8 adicións e 1 borrados
  1. 8 1
      dashboard/src/components/template/Video.tsx

+ 8 - 1
dashboard/src/components/template/Video.tsx

@@ -88,11 +88,18 @@ export const VideoCtl = ({ url, title, style = "modal" }: IVideoCtl) => {
       break;
       break;
     case "card":
     case "card":
       output = (
       output = (
-        <Card title={title}>
+        <Card title={title} bodyStyle={{ width: 550, height: 400 }}>
           <Video src={url} />
           <Video src={url} />
         </Card>
         </Card>
       );
       );
       break;
       break;
+    case "window":
+      output = (
+        <div style={{ width: 550, height: 320 }}>
+          <Video src={url} />
+        </div>
+      );
+      break;
     case "toggle":
     case "toggle":
       output = (
       output = (
         <Collapse bordered={false}>
         <Collapse bordered={false}>