{"version":3,"file":"VideoFrame.DDPjLYbf.mjs","names":[],"sources":["https:/framerusercontent.com/modules/76eAh3qxwTt701GHhgT7/s78z9gujcO5BOvmDo0Mn/VideoFrame.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Video Frame\n *\n * A framed video player with customizable border, shadow, and playback settings.\n *\n * @framerIntrinsicWidth 400\n * @framerIntrinsicHeight 300\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function VideoFrame(props){const{videoFile=\"https://framerusercontent.com/assets/MLWPbW1dUQawJLhhun3dBwpgJak.mp4\",autoplay=true,loop=true,muted=true,showControls=false,frameColor=\"#000000\",frameWidth=8,borderRadius=12,shadow=true,objectFit=\"cover\",style}=props;const isFixedWidth=style?.width===\"100%\";const isFixedHeight=style?.height===\"100%\";return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:isFixedWidth?\"100%\":\"max-content\",height:isFixedHeight?\"100%\":\"max-content\",padding:frameWidth,backgroundColor:frameColor,borderRadius:borderRadius+frameWidth,boxShadow:shadow?\"0 20px 40px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.1)\":\"none\",overflow:\"hidden\",...style},children:/*#__PURE__*/_jsx(\"video\",{src:videoFile,autoPlay:autoplay,loop:loop,muted:muted,controls:showControls,playsInline:true,style:{display:\"block\",width:isFixedWidth?\"100%\":400,height:isFixedHeight?\"100%\":300,objectFit,borderRadius:borderRadius,backgroundColor:\"#000\"}})});}addPropertyControls(VideoFrame,{videoFile:{type:ControlType.File,title:\"Video\",allowedFileTypes:[\"mp4\",\"webm\",\"mov\"]},autoplay:{type:ControlType.Boolean,title:\"Autoplay\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},loop:{type:ControlType.Boolean,title:\"Loop\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},muted:{type:ControlType.Boolean,title:\"Muted\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},showControls:{type:ControlType.Boolean,title:\"Controls\",defaultValue:false,enabledTitle:\"Show\",disabledTitle:\"Hide\"},objectFit:{type:ControlType.Enum,title:\"Fit\",defaultValue:\"cover\",options:[\"cover\",\"contain\",\"fill\"],optionTitles:[\"Cover\",\"Contain\",\"Fill\"],displaySegmentedControl:true},frameColor:{type:ControlType.Color,title:\"Frame Color\",defaultValue:\"#000000\"},frameWidth:{type:ControlType.Number,title:\"Frame Width\",defaultValue:8,min:0,max:50,step:1,unit:\"px\"},borderRadius:{type:ControlType.Number,title:\"Corner Radius\",defaultValue:12,min:0,max:50,step:1,unit:\"px\"},shadow:{type:ControlType.Boolean,title:\"Shadow\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"}});VideoFrame.displayName=\"Video Frame\";\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"VideoFrame\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"300\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"400\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./VideoFrame.map"],"mappings":"4JAUG,SAAwB,EAAW,EAAM,CAAC,GAAK,CAAC,YAAU,uEAAuE,WAAS,GAAK,OAAK,GAAK,QAAM,GAAK,eAAa,GAAM,aAAW,UAAU,aAAW,EAAE,eAAa,GAAG,SAAO,GAAK,YAAU,QAAQ,SAAO,EAAY,EAAa,GAAO,QAAQ,OAAa,EAAc,GAAO,SAAS,OAAO,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,EAAa,OAAO,cAAc,OAAO,EAAc,OAAO,cAAc,QAAQ,EAAW,gBAAgB,EAAW,aAAa,EAAa,EAAW,UAAU,EAAO,iEAAiE,OAA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