We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b082a82 commit 02ecdacCopy full SHA for 02ecdac
frontend/main/src/components/PostMedia.tsx
@@ -16,9 +16,9 @@ export default function PostMedia({
16
}: {
17
post: Post;
18
noImage?: boolean;
19
- vidRef: RefObject<ReactPlayer>;
20
- onStart: (progress?: any) => void;
21
- onProgress: (progress?: { played: number }) => void;
+ vidRef?: RefObject<ReactPlayer>;
+ onStart?: (progress?: any) => void;
+ onProgress?: (progress?: { played: number }) => void;
22
}): JSX.Element {
23
const [playing, setPlaying] = useState(true);
24
const isYouTube = (): boolean => {
0 commit comments