Import video next js

Hello, I am trying to have a background video but can not import it. For importing images next js accepts "import Image from “next/image” code but for the video It does not work. I have tried to import it with

<video autoPlay muted loop>
<source src="/../public/assets/video.mp4" 
</video>

What do I miss? Any help please?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.