fix: replace webm with mp4 file. cause high cpu usage sometimes

This commit is contained in:
Zamitto 2024-05-12 16:09:47 -03:00
parent 4015af1648
commit 1c7c64a5a2

View file

@ -106,7 +106,7 @@ export function GallerySlider({ gameDetails }: GallerySliderProps) {
loop loop
muted muted
> >
<source src={video.webm.max.replace("http", "https")} /> <source src={video.mp4.max.replace("http", "https")} />
</video> </video>
))} ))}
{gameDetails.screenshots && {gameDetails.screenshots &&