Просмотр исходного кода

Video fullscreen issue on PC fixed

Sviluppo_Carrello_Immagini
Lorenzo Pollutri 1 месяц назад
Родитель
Сommit
1cb11a2477
1 измененных файлов: 2 добавлений и 2 удалений
  1. +2
    -2
      components/PublicGrid.tsx

+ 2
- 2
components/PublicGrid.tsx Просмотреть файл

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


Загрузка…
Отмена
Сохранить