Bläddra i källkod

Video fullscreen issue on PC fixed

Sviluppo_Carrello_Immagini
Lorenzo Pollutri 1 månad sedan
förälder
incheckning
1cb11a2477
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. +2
    -2
      components/PublicGrid.tsx

+ 2
- 2
components/PublicGrid.tsx Visa fil

@@ -329,13 +329,13 @@ function FullscreenViewer({
>
{video ? (
<div
className="relative flex items-center justify-center max-w-full max-h-full cursor-pointer"
className="relative w-full h-full flex items-center justify-center cursor-pointer"
onClick={(e) => { e.stopPropagation(); togglePlay(i); }}
>
<video
ref={el => { videoRefs.current[i] = el; }}
src={item.url}
className="max-w-full max-h-full pointer-events-none"
className="max-w-full max-h-full object-contain pointer-events-none"
playsInline
preload="metadata"
onLoadedMetadata={(e) => applyVolume(e.currentTarget, item)}


Laddar…
Avbryt
Spara