{"version":3,"file":"VideoServer.BO4mfjAz.mjs","names":["_Fragment"],"sources":["https:/framerusercontent.com/modules/aORedA8sT89cpvbpw8Pq/TGzbPAEVn0nCFRjES3GQ/VideoServer.js"],"sourcesContent":["// Video component with MP4 and WEBM source support\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function MyVideo(props){const{movFile,webmFile=\"\",mp4File=\"\",playing=true,loop=true}=props;if(!playing)return null;return /*#__PURE__*/_jsx(\"video\",{autoPlay:true,style:{objectFit:\"contain\",width:\"100%\",height:\"100%\",...props.style},loop:loop,muted:true,playsInline:true,children:mp4File?/*#__PURE__*/_jsx(\"source\",{src:mp4File,type:\"video/mp4\"}):/*#__PURE__*/_jsxs(_Fragment,{children:[movFile&&/*#__PURE__*/_jsx(\"source\",{src:movFile,type:\"video/mp4;codecs=hvc1\"}),webmFile&&/*#__PURE__*/_jsx(\"source\",{src:webmFile,type:\"video/webm\"})]})});}addPropertyControls(MyVideo,{playing:{type:ControlType.Boolean,title:\"Playing\",defaultValue:true,enabledTitle:\"Yes\",disabledTitle:\"No\"},loop:{type:ControlType.Boolean,title:\"Loop\",defaultValue:true,enabledTitle:\"Yes\",disabledTitle:\"No\"},mp4File:{type:ControlType.File,title:\"MP4\",allowedFileTypes:[\"mp4\"]},movFile:{type:ControlType.File,title:\"MOV\",allowedFileTypes:[\"mov\"]},webmFile:{type:ControlType.File,title:\"WEBM\",allowedFileTypes:[\"webm\"]}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"MyVideo\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./VideoServer.map"],"mappings":"qKAIG,SAAwB,EAAQ,EAAM,CAAC,GAAK,CAAC,UAAQ,WAAS,GAAG,UAAQ,GAAG,UAAQ,GAAK,OAAK,IAAM,EAA8B,OAApB,EAAwC,EAAK,QAAQ,CAAC,SAAS,GAAK,MAAM,CAAC,UAAU,UAAU,MAAM,OAAO,OAAO,OAAO,GAAG,EAAM,MAAM,CAAM,OAAK,MAAM,GAAK,YAAY,GAAK,SAAS,EAAqB,EAAK,SAAS,CAAC,IAAI,EAAQ,KAAK,YAAY,CAAC,CAAc,EAAMA,EAAU,CAAC,SAAS,CAAC,GAAsB,EAAK,SAAS,CAAC,IAAI,EAAQ,KAAK,wBAAwB,CAAC,CAAC,GAAuB,EAAK,SAAS,CAAC,IAAI,EAAS,KAAK,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAhb,sBAHjD,IAAoD,CAG+a,EAAoB,EAAQ,CAAC,QAAQ,CAAC,KAAK,EAAY,QAAQ,MAAM,UAAU,aAAa,GAAK,aAAa,MAAM,cAAc,KAAK,CAAC,KAAK,CAAC,KAAK,EAAY,QAAQ,MAAM,OAAO,aAAa,GAAK,aAAa,MAAM,cAAc,KAAK,CAAC,QAAQ,CAAC,KAAK,EAAY,KAAK,MAAM,MAAM,iBAAiB,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,KAAK,EAAY,KAAK,MAAM,MAAM,iBAAiB,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,KAAK,EAAY,KAAK,MAAM,OAAO,iBAAiB,CAAC,OAAO,CAAC,CAAC,CAAC"}