소스 검색

Video fullscreen issue on PC fixed

Sviluppo_Carrello_Immagini
Lorenzo Pollutri 1 개월 전
부모
커밋
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)}


불러오는 중...
취소
저장