X7ROOT File Manager
Current Path:
/home/okeydcqc/.trash/wp-content/plugins/extendify/src/Launch/components
home
/
okeydcqc
/
.trash
/
wp-content
/
plugins
/
extendify
/
src
/
Launch
/
components
/
ðŸ“
..
ðŸ“
BusinessInformation
📄
Card.jsx
(1.45 KB)
📄
CheckboxInput.jsx
(1.42 KB)
📄
CheckboxInputCard.jsx
(1.33 KB)
ðŸ“
CreatingSite
📄
LoadingIndicator.jsx
(188 B)
📄
NavigationButton.jsx
(367 B)
📄
PageControl.jsx
(8.02 KB)
📄
PagePreview.jsx
(7.33 KB)
📄
PageSelectButton.jsx
(962 B)
📄
PageSelectButtonPlaceholder.jsx
(391 B)
📄
RestartLaunchModal.jsx
(5.98 KB)
📄
RetryNotice.jsx
(581 B)
📄
SmallPreview.jsx
(6.79 KB)
📄
Title.jsx
(416 B)
📄
VideoPlayer.jsx
(768 B)
Editing: VideoPlayer.jsx
import { useRef, useState } from 'react'; export const VideoPlayer = ({ path, poster, className = null }) => { const videoRef = useRef(); const [playing, setPlaying] = useState(false); return ( <div className={`relative ${className}`} style={{ backgroundImage: !playing ? `url(${poster})` : 'none', backgroundSize: 'contain', backgroundPosition: 'center', backgroundRepeat: 'no-repeat', }}> <video ref={videoRef} id="video-player" className="h-auto max-h-[min(50vh,400px)] w-full object-contain" playsInline muted autoPlay poster={poster} loop onPlay={() => setPlaying(true)}> <source src={path} type="video/webm" /> Your browser does not support the video tag. </video> </div> ); };
Upload File
Create Folder