diff --git a/frontend/src/b/Shorts.tsx b/frontend/src/b/Shorts.tsx index 9eb993e..97efac2 100644 --- a/frontend/src/b/Shorts.tsx +++ b/frontend/src/b/Shorts.tsx @@ -46,6 +46,8 @@ function command(frame: HTMLIFrameElement | null | undefined, func: Func, args: } const PLAYING = 1 +// 이만큼 지나도 재생이 시작되지 않으면(자동재생이 막힌 웹뷰) 플레이어를 보이고 재생 아이콘을 띄워 직접 누르게 한다 +const STALL_MS = 2000 // 마우스로 이만큼 끌면 다음·이전 영상으로 넘긴다 const SWIPE_PX = 30 @@ -96,6 +98,7 @@ function ShortCard({ s, playing }: { s: ShortItem; playing: boolean }) { return ( + {playing && (