diff --git a/src/components/VideoUpload.js b/src/components/VideoUpload.js index c8e506a..0e338f2 100644 --- a/src/components/VideoUpload.js +++ b/src/components/VideoUpload.js @@ -3,10 +3,12 @@ import { useState } from 'react'; export default function VideoUpload() { const [selectedVideo, setSelectedVideo] = useState(null); - const handleVideoChange = (e) => { + const handleVideoChange = (e) => { setSelectedVideo(e.target.files[0]); + console.log(`Selected video: ${e.target.files[0].name}. Type: ${e.target.files[0].type}`); }; + return (