{"version":3,"file":"CleanVideoPlayer.0BN2Tv7J.mjs","names":["useRef","useState","useCallback"],"sources":["https:/framerusercontent.com/modules/4bcVR9eVnwT5XnkuCYNg/Y1LCKHsewe33nBMqXtkO/CleanVideoPlayer.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useCallback,useEffect,useRef,useState}from\"react\";function PlayIcon({size,color}){return /*#__PURE__*/_jsx(\"svg\",{width:size,height:size,viewBox:\"0 0 24 24\",\"aria-hidden\":\"true\",focusable:\"false\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M8 5v14l11-7z\",fill:color})});}function PauseIcon({size,color}){return /*#__PURE__*/_jsxs(\"svg\",{width:size,height:size,viewBox:\"0 0 24 24\",\"aria-hidden\":\"true\",focusable:\"false\",children:[/*#__PURE__*/_jsx(\"rect\",{x:\"6\",y:\"5\",width:\"4\",height:\"14\",fill:color}),/*#__PURE__*/_jsx(\"rect\",{x:\"14\",y:\"5\",width:\"4\",height:\"14\",fill:color})]});}export default function CleanVideoPlayer(props){const{videoUrl,poster,fit,background,radius,clipCorners,autoplay,muted,loop,lazyLoad,preloadMargin,pauseWhenHidden,centreButtonSize,centreButtonFill,iconColor,showTimeline,controlsColor,timelineBackground,bottomButtonSize,controlInset,timelineHeight,ariaLabel,style}=props;const rootRef=useRef(null);const videoRef=useRef(null);const hideTimerRef=useRef(null);const pendingPlayRef=useRef(false);const isCanvas=RenderTarget.current()===RenderTarget.canvas;/*\n     * Canvas instances remain active so that Framer can show\n     * video previews while designing.\n     *\n     * Published instances begin inactive when lazy loading\n     * is enabled.\n     */const[hasActivated,setHasActivated]=useState(isCanvas||!lazyLoad);const[isNearViewport,setIsNearViewport]=useState(isCanvas||!lazyLoad);const[playing,setPlaying]=useState(false);const[hasStarted,setHasStarted]=useState(false);const[loadError,setLoadError]=useState(false);const[hovered,setHovered]=useState(false);const[touchControlsVisible,setTouchControlsVisible]=useState(false);const[duration,setDuration]=useState(0);const[currentTime,setCurrentTime]=useState(0);const progress=duration>0?Math.min(100,Math.max(0,currentTime/duration*100)):0;const bottomControlsVisible=hasStarted&&(hovered||touchControlsVisible);const clearHideTimer=useCallback(()=>{if(hideTimerRef.current!==null){window.clearTimeout(hideTimerRef.current);hideTimerRef.current=null;}},[]);const brieflyShowTouchControls=useCallback(()=>{clearHideTimer();setTouchControlsVisible(true);hideTimerRef.current=window.setTimeout(()=>{const video=videoRef.current;if(video&&!video.paused){setTouchControlsVisible(false);}},2e3);},[clearHideTimer]);/*\n     * Observe the actual player element.\n     *\n     * IntersectionObserver accounts for clipping ancestors,\n     * including horizontal carousel scrollers. A video slide\n     * outside the visible carousel area is therefore not treated\n     * as visible merely because the carousel itself is on-screen.\n     */useEffect(()=>{const root=rootRef.current;if(!root||isCanvas||!lazyLoad||typeof IntersectionObserver===\"undefined\"){setIsNearViewport(true);setHasActivated(true);return;}const safeMargin=Math.max(0,preloadMargin);const observer=new IntersectionObserver(entries=>{const entry=entries[0];if(!entry)return;setIsNearViewport(entry.isIntersecting);/*\n                 * Once activated, retain the source URL.\n                 * Removing and restoring it on every scroll would\n                 * cause repeated downloads and playback resets.\n                 */if(entry.isIntersecting){setHasActivated(true);}},{root:null,/*\n                 * Load slightly before the video reaches view.\n                 * This greatly reduces blank frames without making\n                 * every page video load immediately.\n                 */rootMargin:`${safeMargin}px ${safeMargin}px`,threshold:.01});observer.observe(root);return()=>{observer.disconnect();};},[isCanvas,lazyLoad,preloadMargin]);/*\n     * Reset playback state when the URL changes.\n     */useEffect(()=>{const video=videoRef.current;setPlaying(false);setHasStarted(false);setLoadError(false);setDuration(0);setCurrentTime(0);setTouchControlsVisible(false);pendingPlayRef.current=false;clearHideTimer();if(!lazyLoad||isCanvas){setHasActivated(true);setIsNearViewport(true);}if(video){video.pause();}},[videoUrl,lazyLoad,isCanvas,clearHideTimer]);/*\n     * Autoplay videos start only while near the viewport.\n     *\n     * Autoplay should normally be used with Muted enabled,\n     * because browsers may reject audible autoplay.\n     */useEffect(()=>{const video=videoRef.current;if(!video||!hasActivated||!videoUrl)return;if(autoplay&&isNearViewport){video.muted=muted;void video.play().catch(()=>{/*\n                 * Browser autoplay policies can still block playback.\n                 * The ordinary centre play button remains available.\n                 */setPlaying(false);});return;}if(pauseWhenHidden&&!isNearViewport){video.pause();setPlaying(false);}},[autoplay,hasActivated,isNearViewport,muted,pauseWhenHidden,videoUrl]);useEffect(()=>{return()=>{clearHideTimer();};},[clearHideTimer]);const playVideo=useCallback(async()=>{setLoadError(false);/*\n         * This is mainly a fallback for an unusually early click.\n         * Ordinarily, a visible video has already been activated by\n         * IntersectionObserver.\n         */if(!hasActivated){pendingPlayRef.current=true;setHasActivated(true);return;}const video=videoRef.current;if(!video)return;try{if(video.error){video.load();}await video.play();setPlaying(true);setHasStarted(true);}catch(error){console.warn(\"The video could not be played.\",error);setPlaying(false);}},[hasActivated]);const pauseVideo=useCallback(()=>{const video=videoRef.current;if(!video)return;video.pause();setPlaying(false);setTouchControlsVisible(true);clearHideTimer();},[clearHideTimer]);const togglePlayback=useCallback(()=>{const video=videoRef.current;if(video&&!video.paused){pauseVideo();}else{void playVideo();}},[pauseVideo,playVideo]);const handleVideoClick=event=>{event.preventDefault();togglePlayback();};const handleTimelineChange=event=>{const video=videoRef.current;const nextTime=Number(event.target.value);if(!video||!Number.isFinite(nextTime))return;video.currentTime=nextTime;setCurrentTime(nextTime);brieflyShowTouchControls();};const centreIconSize=Math.round(centreButtonSize*.38);const bottomIconSize=Math.round(bottomButtonSize*.42);const activeVideoUrl=hasActivated&&videoUrl?videoUrl:undefined;return /*#__PURE__*/_jsxs(\"div\",{ref:rootRef,style:{...style,position:\"relative\",width:\"100%\",height:\"100%\",minWidth:0,minHeight:0,boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .clean-video-range {\n                    -webkit-appearance: none;\n                    appearance: none;\n\n                    width: 100%;\n                    min-width: 0;\n\n                    margin: 0;\n                    padding: 0;\n\n                    border: 0;\n                    outline: none;\n\n                    cursor: pointer;\n                    background: transparent;\n                }\n\n                .clean-video-range::-webkit-slider-runnable-track {\n                    width: 100%;\n                    height: var(--timeline-height);\n\n                    border-radius: 999px;\n\n                    background:\n                        linear-gradient(\n                            to right,\n                            var(--timeline-active) 0%,\n                            var(--timeline-active)\n                                var(--timeline-progress),\n                            var(--timeline-background)\n                                var(--timeline-progress),\n                            var(--timeline-background) 100%\n                        );\n                }\n\n                .clean-video-range::-webkit-slider-thumb {\n                    -webkit-appearance: none;\n                    appearance: none;\n\n                    width: 14px;\n                    height: 14px;\n\n                    margin-top:\n                        calc(\n                            (var(--timeline-height) - 14px) / 2\n                        );\n\n                    border: 0;\n                    border-radius: 50%;\n\n                    background: var(--timeline-active);\n                    box-shadow: none;\n                }\n\n                .clean-video-range::-moz-range-track {\n                    width: 100%;\n                    height: var(--timeline-height);\n\n                    border: 0;\n                    border-radius: 999px;\n\n                    background: var(--timeline-background);\n                }\n\n                .clean-video-range::-moz-range-progress {\n                    height: var(--timeline-height);\n\n                    border-radius: 999px;\n\n                    background: var(--timeline-active);\n                }\n\n                .clean-video-range::-moz-range-thumb {\n                    width: 14px;\n                    height: 14px;\n\n                    border: 0;\n                    border-radius: 50%;\n\n                    background: var(--timeline-active);\n                    box-shadow: none;\n                }\n\n                .clean-video-control-button:focus-visible,\n                .clean-video-centre-button:focus-visible,\n                .clean-video-range:focus-visible {\n                    outline:\n                        2px solid var(--focus-color);\n\n                    outline-offset: 3px;\n                }\n            `}),/*#__PURE__*/_jsxs(\"div\",{onMouseEnter:()=>{setHovered(true);},onMouseLeave:()=>{setHovered(false);if(playing){setTouchControlsVisible(false);}},onMouseMove:()=>{if(hasStarted){setHovered(true);}},onPointerDown:()=>{if(hasStarted){brieflyShowTouchControls();}},style:{position:\"relative\",width:\"100%\",height:\"100%\",minWidth:0,minHeight:0,overflow:\"hidden\",borderRadius:radius,clipPath:clipCorners?`inset(0 round ${radius}px)`:undefined,WebkitClipPath:clipCorners?`inset(0 round ${radius}px)`:undefined,WebkitMaskImage:clipCorners?\"-webkit-radial-gradient(white, black)\":undefined,isolation:\"isolate\",transform:clipCorners?\"translateZ(0)\":undefined,background,boxSizing:\"border-box\",\"--focus-color\":controlsColor},children:[/*#__PURE__*/_jsx(\"video\",{ref:videoRef,src:activeVideoUrl,poster:poster?.src,preload:activeVideoUrl?\"metadata\":\"none\",autoPlay:false,muted:muted,loop:loop,playsInline:true,controls:false,disablePictureInPicture:true,controlsList:\"nodownload noplaybackrate noremoteplayback\",\"aria-label\":ariaLabel,onClick:handleVideoClick,onLoadedMetadata:event=>{const video=event.currentTarget;setDuration(Number.isFinite(video.duration)?video.duration:0);setCurrentTime(video.currentTime||0);},onLoadedData:event=>{if(pendingPlayRef.current){pendingPlayRef.current=false;void event.currentTarget.play();}},onCanPlay:event=>{if(pendingPlayRef.current){pendingPlayRef.current=false;void event.currentTarget.play();}if(autoplay&&isNearViewport&&event.currentTarget.paused){void event.currentTarget.play().catch(()=>{setPlaying(false);});}},onDurationChange:event=>{const nextDuration=event.currentTarget.duration;if(Number.isFinite(nextDuration)){setDuration(nextDuration);}},onTimeUpdate:event=>{setCurrentTime(event.currentTarget.currentTime);},onPlay:()=>{setPlaying(true);setHasStarted(true);},onPlaying:()=>{setPlaying(true);setHasStarted(true);},onPause:()=>{setPlaying(false);clearHideTimer();},onEnded:()=>{setPlaying(false);setCurrentTime(0);},onError:()=>{setLoadError(true);setPlaying(false);},style:{display:\"block\",width:\"100%\",height:\"100%\",minWidth:0,minHeight:0,objectFit:fit,objectPosition:\"center\",borderRadius:clipCorners?\"inherit\":undefined,cursor:\"pointer\",background,boxSizing:\"border-box\"}}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"clean-video-centre-button\",\"aria-label\":playing?\"Pause video\":\"Play video\",onClick:togglePlayback,style:{position:\"absolute\",top:\"50%\",left:\"50%\",zIndex:3,width:centreButtonSize,height:centreButtonSize,padding:0,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",border:0,borderRadius:\"50%\",background:centreButtonFill,cursor:\"pointer\",opacity:playing||loadError?0:1,pointerEvents:playing||loadError?\"none\":\"auto\",transform:playing||loadError?\"translate(-50%, -50%) scale(0.88)\":\"translate(-50%, -50%) scale(1)\",transition:\"opacity 220ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1)\",WebkitTapHighlightColor:\"transparent\"},children:/*#__PURE__*/_jsx(\"span\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",transform:\"translateX(3%)\"},children:/*#__PURE__*/_jsx(PlayIcon,{size:centreIconSize,color:iconColor})})}),/*#__PURE__*/_jsxs(\"div\",{\"aria-hidden\":!bottomControlsVisible,onClick:event=>{event.stopPropagation();},onPointerDown:event=>{event.stopPropagation();},style:{position:\"absolute\",zIndex:4,left:controlInset,right:controlInset,bottom:controlInset,display:\"flex\",alignItems:\"center\",gap:showTimeline?12:0,opacity:bottomControlsVisible?1:0,pointerEvents:bottomControlsVisible?\"auto\":\"none\",transform:bottomControlsVisible?\"translateY(0)\":\"translateY(8px)\",transition:\"opacity 180ms ease, transform 240ms cubic-bezier(0.22, 1, 0.36, 1)\"},children:[/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"clean-video-control-button\",\"aria-label\":playing?\"Pause video\":\"Play video\",onClick:togglePlayback,style:{flex:\"0 0 auto\",width:bottomButtonSize,height:bottomButtonSize,padding:0,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",border:0,borderRadius:\"50%\",background:centreButtonFill,color:iconColor,cursor:\"pointer\",WebkitTapHighlightColor:\"transparent\"},children:playing?/*#__PURE__*/_jsx(PauseIcon,{size:bottomIconSize,color:iconColor}):/*#__PURE__*/_jsx(\"span\",{style:{display:\"flex\",transform:\"translateX(3%)\"},children:/*#__PURE__*/_jsx(PlayIcon,{size:bottomIconSize,color:iconColor})})}),showTimeline&&/*#__PURE__*/_jsx(\"input\",{className:\"clean-video-range\",type:\"range\",min:0,max:duration||0,step:.01,value:Math.min(currentTime,duration||0),\"aria-label\":\"Video timeline\",onChange:handleTimelineChange,onInput:handleTimelineChange,style:{flex:\"1 1 auto\",minWidth:0,\"--timeline-progress\":`${progress}%`,\"--timeline-active\":controlsColor,\"--timeline-background\":timelineBackground,\"--timeline-height\":`${timelineHeight}px`,\"--focus-color\":controlsColor}})]})]})]});}CleanVideoPlayer.defaultProps={videoUrl:\"\",fit:\"cover\",background:\"#000000\",radius:20,clipCorners:true,autoplay:false,muted:false,loop:false,lazyLoad:true,preloadMargin:200,pauseWhenHidden:true,centreButtonSize:96,centreButtonFill:\"rgba(255,255,255,0.92)\",iconColor:\"#000000\",showTimeline:false,controlsColor:\"#FFFFFF\",timelineBackground:\"rgba(255,255,255,0.42)\",bottomButtonSize:42,controlInset:20,timelineHeight:4,ariaLabel:\"Project video\",width:1200,height:675};addPropertyControls(CleanVideoPlayer,{videoUrl:{type:ControlType.String,title:\"Video URL\",placeholder:\"Paste external video URL…\"},poster:{type:ControlType.ResponsiveImage,title:\"Poster\"},fit:{type:ControlType.Enum,title:\"Fit\",options:[\"cover\",\"contain\"],optionTitles:[\"Cover\",\"Contain\"],defaultValue:\"cover\",displaySegmentedControl:true},background:{type:ControlType.Color,title:\"Background\",defaultValue:\"#000000\"},radius:{type:ControlType.Number,title:\"Radius\",defaultValue:20,min:0,max:100,step:1,unit:\"px\"},clipCorners:{type:ControlType.Boolean,title:\"Clip Corners\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},autoplay:{type:ControlType.Boolean,title:\"Autoplay\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},muted:{type:ControlType.Boolean,title:\"Muted\",defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\"},loop:{type:ControlType.Boolean,title:\"Loop\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},lazyLoad:{type:ControlType.Boolean,title:\"Lazy Load\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},preloadMargin:{type:ControlType.Number,title:\"Load Ahead\",defaultValue:200,min:0,max:1200,step:25,unit:\"px\",hidden:props=>!props.lazyLoad},pauseWhenHidden:{type:ControlType.Boolean,title:\"Pause Offscreen\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},centreButtonSize:{type:ControlType.Number,title:\"Play Size\",defaultValue:96,min:30,max:180,step:1,unit:\"px\"},centreButtonFill:{type:ControlType.Color,title:\"Button Fill\",defaultValue:\"rgba(255,255,255,0.92)\"},iconColor:{type:ControlType.Color,title:\"Icon\",defaultValue:\"#000000\"},showTimeline:{type:ControlType.Boolean,title:\"Timeline\",defaultValue:false,enabledTitle:\"Show\",disabledTitle:\"Hide\"},controlsColor:{type:ControlType.Color,title:\"Controls\",defaultValue:\"#FFFFFF\"},timelineBackground:{type:ControlType.Color,title:\"Track\",defaultValue:\"rgba(255,255,255,0.42)\",hidden:props=>!props.showTimeline},bottomButtonSize:{type:ControlType.Number,title:\"Small Play\",defaultValue:42,min:28,max:80,step:1,unit:\"px\"},controlInset:{type:ControlType.Number,title:\"Controls Inset\",defaultValue:20,min:0,max:80,step:1,unit:\"px\"},timelineHeight:{type:ControlType.Number,title:\"Line Height\",defaultValue:4,min:2,max:12,step:1,unit:\"px\",hidden:props=>!props.showTimeline},ariaLabel:{type:ControlType.String,title:\"Label\",defaultValue:\"Project video\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CleanVideoPlayer\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CleanVideoPlayer.map"],"mappings":"sNAAmL,SAAS,EAAS,CAAC,OAAK,SAAO,CAAC,OAAoB,EAAK,MAAM,CAAC,MAAM,EAAK,OAAO,EAAK,QAAQ,YAAY,cAAc,OAAO,UAAU,QAAQ,SAAsB,EAAK,OAAO,CAAC,EAAE,gBAAgB,KAAK,CAAK,CAAC,CAA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