I have a list of videos. I only need to play the video when hover it. Other wise in need to show a default image that I have provided.
Lets say I have a coding like this. When I hover the card it need to play the video and when I am not hovering it need to show an image.
<Card>
<video src={video} />
</Card>
I have used the npm package react-hover-video-player, but I don't to use an external package to do this. Is there a way to do this in React JS (Typescript)?