{"version":3,"file":"VideoPlayer_2.D6lzgjgb.mjs","names":["__esmMin","p","init_jsx_runtime","c","addPropertyControls","init_framer_DcGZRLrs","ControlType","VideoPlayer","props","style","showControls","movFile","webmFile","init_VideoPlayer_2"],"sources":["https:/framerusercontent.com/modules/307bwCdgFbzf80J98fIA/PMpCcH2iuP0OMPDoQsJK/VideoPlayer_2.js"],"sourcesContent":["// Video player component with MP4 and WEBM file support, using Framer property controls\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Video Player\n *\n * @framerIntrinsicWidth 400\n * @framerIntrinsicHeight 225\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function VideoPlayer(props){const{movFile=\"https://framerusercontent.com/assets/MLWPbW1dUQawJLhhun3dBwpgJak.mp4\",webmFile=\"\",style={},autoPlay=true,showControls=true,radius=8}=props;return /*#__PURE__*/_jsxs(\"video\",{autoPlay:autoPlay,loop:true,muted:true,style:{objectFit:\"contain\",width:\"100%\",height:\"100%\",borderRadius:props.radius,...style},controls:showControls,children:[movFile&&/*#__PURE__*/_jsx(\"source\",{src:movFile,type:\"video/mp4; codecs=hvc1\"}),webmFile&&/*#__PURE__*/_jsx(\"source\",{src:webmFile,type:\"video/webm\"}),\"Your browser does not support the video tag.\"]});}addPropertyControls(VideoPlayer,{movFile:{type:ControlType.File,title:\"MP4\",allowedFileTypes:[\"mp4\"]},webmFile:{type:ControlType.File,title:\"WEBM\",allowedFileTypes:[\"webm\"]},autoPlay:{type:ControlType.Boolean,title:\"Playing\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},showControls:{type:ControlType.Boolean,title:\"Show Controls\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},radius:{type:ControlType.Number,title:\"Radius\",defaultValue:8,min:0,max:64,step:1}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"VideoPlayer\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"225\",\"framerIntrinsicWidth\":\"400\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./VideoPlayer_2.map"],"mappings":"A,oKASG,SAAwBO,EAAY,EAAM,CAAC,GAAK,CAAC,UAAQ,uEAAuE,WAAS,GAAG,QAAM,CAAC,EAAE,WAAS,GAAK,eAAa,GAAK,SAAO,GAAGC,EAAM,MAAoB,gBAAM,QAAQ,CAAU,WAAS,KAAK,GAAK,MAAM,GAAK,MAAM,CAAC,UAAU,UAAU,MAAM,OAAO,OAAO,OAAO,aAAaA,EAAM,OAAO,GAAGC,CAAK,EAAE,SAASC,EAAa,SAAS,CAACC,GAAsB,gBAAK,SAAS,CAAC,IAAIA,EAAQ,KAAK,wBAAwB,CAAC,EAAEC,GAAuB,gBAAK,SAAS,CAAC,IAAIA,EAAS,KAAK,YAAY,CAAC,EAAE,8CAA8C,CAAC,CAAC,CAAE,C,sCAACR,EAAoBG,EAAY,CAAC,QAAQ,CAAC,KAAKD,EAAY,KAAK,MAAM,MAAM,iBAAiB,CAAC,KAAK,CAAC,EAAE,SAAS,CAAC,KAAKA,EAAY,KAAK,MAAM,OAAO,iBAAiB,CAAC,MAAM,CAAC,EAAE,SAAS,CAAC,KAAKA,EAAY,QAAQ,MAAM,UAAU,aAAa,GAAM,aAAa,KAAK,cAAc,KAAK,EAAE,aAAa,CAAC,KAAKA,EAAY,QAAQ,MAAM,gBAAgB,aAAa,GAAK,aAAa,OAAO,cAAc,MAAM,EAAE,OAAO,CAAC,KAAKA,EAAY,OAAO,MAAM,SAAS,aAAa,EAAE,IAAI,EAAE,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,C"}