diff --git a/components/video-grid-layout.tsx b/components/video-grid-layout.tsx index f91fba7..36f2963 100644 --- a/components/video-grid-layout.tsx +++ b/components/video-grid-layout.tsx @@ -111,7 +111,7 @@ function VideoGridLayoutComponent({ videos, onEdit, onDelete }: VideoGridLayoutP loop muted={isMuted[video.id] !== false} // 默认静音,除非明确设置为false playsInline - preload="auto" + preload="none" poster={`${video.url}?vframe/jpg/offset/1`} onLoadedData={() => { // 设置默认音量 diff --git a/components/video-screen-layout.tsx b/components/video-screen-layout.tsx index d2e8f5d..786661f 100644 --- a/components/video-screen-layout.tsx +++ b/components/video-screen-layout.tsx @@ -197,7 +197,7 @@ function VideoScreenLayoutComponent({ videos }: VideoScreenLayoutProps) { loop muted={index === currentIndex ? isMuted : true} // 只有当前视频受状态控制 playsInline - preload="auto" + preload={`${index === currentIndex ? 'auto' : 'none'}`} poster={`${video.url}?vframe/jpg/offset/1`} onLoadedData={() => { if (index === currentIndex && videoRefs.current[index]) {