"use client" import { useEffect, useTransition } from "react" import { usePathname } from "next/navigation" import { experimental_useFormStatus as useFormStatus } from "react-dom" import { Textarea } from "@/components/ui/textarea" import { Button } from "@/components/ui/button" import { handleFormSubmit } from "@/server/actions" export const VideoForm = () => { const pathname = usePathname() const ownerId = pathname.split("/").pop() const { pending } = useFormStatus() return (

VideoChain 🎬

Powered by Hugging Face 🤗

For demonstration purposes only. Please use responsibly, and cancel any video you don't need anymore. You have been assigned this temporary unique URL ID: {ownerId}