{"version":3,"file":"LoopingVideo.C7vjYC8e.mjs","names":[],"sources":["https:/framerusercontent.com/modules/FblqcltnR6LtZPo6qYri/8vnSYLBeXCHPffHJan5Z/LoopingVideo.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Looping Video Player\n * \n * A simple video component that automatically loops the uploaded video file.\n * \n * @framerIntrinsicWidth 640\n * @framerIntrinsicHeight 360\n * \n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function LoopingVideo(props){const{videoFile=\"https://framerusercontent.com/assets/MLWPbW1dUQawJLhhun3dBwpgJak.mp4\",objectFit=\"cover\",muted=true,showControls=false,style}=props;return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",position:\"relative\",overflow:\"hidden\",...style},children:/*#__PURE__*/_jsx(\"video\",{src:videoFile,autoPlay:true,loop:true,muted:muted,playsInline:true,controls:showControls,style:{width:\"100%\",height:\"100%\",objectFit:objectFit}})});}addPropertyControls(LoopingVideo,{videoFile:{type:ControlType.File,title:\"Video File\",allowedFileTypes:[\"mp4\",\"webm\",\"mov\"]},objectFit:{type:ControlType.Enum,title:\"Object Fit\",options:[\"contain\",\"cover\",\"fill\",\"none\",\"scale-down\"],optionTitles:[\"Contain\",\"Cover\",\"Fill\",\"None\",\"Scale Down\"],defaultValue:\"cover\",displaySegmentedControl:false},muted:{type:ControlType.Boolean,title:\"Muted\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},showControls:{type:ControlType.Boolean,title:\"Show Controls\",defaultValue:false,enabledTitle:\"Show\",disabledTitle:\"Hide\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"LoopingVideo\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"360\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"640\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LoopingVideo.map"],"mappings":"4JAUG,SAAwB,EAAa,EAAM,CAAC,GAAK,CAAC,YAAU,uEAAuE,YAAU,QAAQ,QAAM,GAAK,eAAa,GAAM,SAAO,EAAM,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,SAAS,WAAW,SAAS,SAAS,GAAG,EAAM,CAAC,SAAsB,EAAK,QAAQ,CAAC,IAAI,EAAU,SAAS,GAAK,KAAK,GAAW,QAAM,YAAY,GAAK,SAAS,EAAa,MAAM,CAAC,MAAM,OAAO,OAAO,OAAiB,YAAU,CAAC,CAAC,CAAC,CAAC,kBAVjc,IAAoD,CAU+Y,EAAoB,EAAa,CAAC,UAAU,CAAC,KAAK,EAAY,KAAK,MAAM,aAAa,iBAAiB,CAAC,MAAM,OAAO,MAAM,CAAC,CAAC,UAAU,CAAC,KAAK,EAAY,KAAK,MAAM,aAAa,QAAQ,CAAC,UAAU,QAAQ,OAAO,OAAO,aAAa,CAAC,aAAa,CAAC,UAAU,QAAQ,OAAO,OAAO,aAAa,CAAC,aAAa,QAAQ,wBAAwB,GAAM,CAAC,MAAM,CAAC,KAAK,EAAY,QAAQ,MAAM,QAAQ,aAAa,GAAK,aAAa,KAAK,cAAc,MAAM,CAAC,aAAa,CAAC,KAAK,EAAY,QAAQ,MAAM,gBAAgB,aAAa,GAAM,aAAa,OAAO,cAAc,OAAO,CAAC,CAAC"}