feat(media): implement nextjs media proxy API routes (/api/uploads & /api/media) with server-side caching and streaming
Deploy Canina / deploy (push) Successful in 1m34s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 6s

This commit is contained in:
parsa aghaei committed 2026-08-29 12:13:16 +03:30
1 parent d9c693c41b
commit fa1a35c835
19 files changed
+13806 -13030

No files matched your search

@@ -19,6 +19,7 @@ import {
Sparkles,
Loader2
} from "lucide-react";
import { getMediaUrl } from "../lib/media";
interface VideoModalPlayerProps {
isOpen: boolean;
@@ -317,8 +318,8 @@ export default function VideoModalPlayer({ isOpen, onClose, video }: VideoModalP
>
<video
ref={videoRef}
src={video.videoUrl}
poster={video.thumbnail}
src={getMediaUrl(video.videoUrl)}
poster={getMediaUrl(video.thumbnail)}
autoPlay
playsInline
onPlay={() => setIsPlaying(true)}