You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"use client";importMooviefrom"mooviejs";import"mooviejs/css/moovie.css";import{useEffect}from"react";exportdefaultfunctionMovies(){useEffect(()=>{vardemo=newMoovie({selector: "#moovie-player",dimensions: {width: "700px",},icons: {path: "/icons/",},});return()=>{demo.destroy();};},[]);return(<divstyle={{margin: 8}}><videoid="moovie-player"><sourcesrc="example.com/file.mp4"type="video/mp4"/>
Your browser does not support the video tag.
</video></div>);}
I'm not sure if this is safe to use because Moovie could conflict with React on the DOM thing.
Hello, this looks like an amazing project :)
Is it possible to use with React? Is there any samples for this?
The text was updated successfully, but these errors were encountered: