'use client'; import React from 'react'; import { useRouter } from 'next/navigation'; import { useVideos } from '../../../../hooks/useVideos'; import VideoForm from '../../../../components/admin/VideoForm'; import Link from 'next/link'; export default function CreateVideoPage() { const router = useRouter(); const { createVideo } = useVideos(); return (
Upload a video file along with optional thumbnail, subtitles, and transcript files. The video duration will be automatically detected, and a thumbnail will be generated at the 10-second mark if you don't provide one.