{"version":3,"file":"BunnyLoopVideo.CMormeP9.mjs","names":[],"sources":["https:/framerusercontent.com/modules/H5aNSkpUY9rrTLzru9gK/TvKdIMLdvuuz3jolzATD/BunnyLoopVideo.js"],"sourcesContent":["// Request: Create a new Framer code component named BunnyLoopVideo for use inside a CMS Collection List ticker. It must render a native HTML5 video element using an editable string prop named videoUrl, with autoplay, loop, muted, playsInline enabled by default, and object-fit cover. Expose controls for videoUrl, borderRadius, and objectFit if feasible. Keep it visually minimal and sized by its parent; do not hardcode any project-specific content or URLs. This is needed because direct Bunny CDN MP4 URLs are not supported by the existing native video embeds.\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function BunnyLoopVideo(props){const{videoUrl,borderRadius,objectFit}=props;return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\",overflow:\"hidden\",borderRadius,background:\"#000000\"},children:/*#__PURE__*/_jsx(\"video\",{src:videoUrl,autoPlay:true,loop:true,muted:true,playsInline:true,style:{width:\"100%\",height:\"100%\",objectFit,display:\"block\",borderRadius}})});}addPropertyControls(BunnyLoopVideo,{videoUrl:{type:ControlType.String,title:\"Video URL\",defaultValue:\"\",placeholder:\"https://...\"},borderRadius:{type:ControlType.BorderRadius,title:\"Radius\",defaultValue:\"0px\"},objectFit:{type:ControlType.Enum,title:\"Object Fit\",defaultValue:\"cover\",options:[\"cover\",\"contain\",\"fill\",\"none\",\"scale-down\"],optionTitles:[\"Cover\",\"Contain\",\"Fill\",\"None\",\"Scale Down\"]}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"BunnyLoopVideo\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BunnyLoopVideo.map"],"mappings":"4JAIG,SAAwB,EAAe,EAAM,CAAC,GAAK,CAAC,WAAS,eAAa,aAAW,EAAM,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,OAAO,OAAO,OAAO,SAAS,SAAS,eAAa,WAAW,SAAS,EAAE,SAAsB,EAAK,QAAQ,CAAC,IAAI,EAAS,SAAS,GAAK,KAAK,GAAK,MAAM,GAAK,YAAY,GAAK,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,YAAU,QAAQ,QAAQ,cAAY,CAAC,CAAC,CAAC,CAAC,CAAE,iBAHlX,IAAoD,EAG+T,EAAoB,EAAe,CAAC,SAAS,CAAC,KAAK,EAAY,OAAO,MAAM,YAAY,aAAa,GAAG,YAAY,aAAa,EAAE,aAAa,CAAC,KAAK,EAAY,aAAa,MAAM,SAAS,aAAa,KAAK,EAAE,UAAU,CAAC,KAAK,EAAY,KAAK,MAAM,aAAa,aAAa,QAAQ,QAAQ,CAAC,QAAQ,UAAU,OAAO,OAAO,YAAY,EAAE,aAAa,CAAC,QAAQ,UAAU,OAAO,OAAO,YAAY,CAAC,CAAC,CAAC"}