Procházet zdrojové kódy

Video fullscreen issue on PC fixed

Sviluppo_Carrello_Immagini
Lorenzo Pollutri před 1 měsícem
rodič
revize
1cb11a2477
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      components/PublicGrid.tsx

+ 2
- 2
components/PublicGrid.tsx Zobrazit soubor

@@ -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)}


Načítá se…
Zrušit
Uložit