{"version":3,"file":"VideoPlayer_2._OkQBdO2.mjs","names":[],"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":"oKASG,SAAwB,EAAY,EAAM,CAAC,GAAK,CAAC,UAAQ,uEAAuE,WAAS,GAAG,QAAM,EAAE,CAAC,WAAS,GAAK,eAAa,GAAK,SAAO,GAAG,EAAM,OAAoB,EAAM,QAAQ,CAAU,WAAS,KAAK,GAAK,MAAM,GAAK,MAAM,CAAC,UAAU,UAAU,MAAM,OAAO,OAAO,OAAO,aAAa,EAAM,OAAO,GAAG,EAAM,CAAC,SAAS,EAAa,SAAS,CAAC,GAAsB,EAAK,SAAS,CAAC,IAAI,EAAQ,KAAK,yBAAyB,CAAC,CAAC,GAAuB,EAAK,SAAS,CAAC,IAAI,EAAS,KAAK,aAAa,CAAC,CAAC,+CAA+C,CAAC,CAAC,kBAR5hB,IAAoD,CAQ0e,EAAoB,EAAY,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,SAAS,CAAC,KAAK,EAAY,QAAQ,MAAM,UAAU,aAAa,GAAM,aAAa,KAAK,cAAc,MAAM,CAAC,aAAa,CAAC,KAAK,EAAY,QAAQ,MAAM,gBAAgB,aAAa,GAAK,aAAa,OAAO,cAAc,OAAO,CAAC,OAAO,CAAC,KAAK,EAAY,OAAO,MAAM,SAAS,aAAa,EAAE,IAAI,EAAE,IAAI,GAAG,KAAK,EAAE,CAAC,CAAC"}