From 16cf7dd5a86854852a0b4994113d2db5949b9319 Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Mon, 4 Aug 2025 19:04:22 +0000 Subject: [PATCH] Play videos directly instead of using an embedded player for better experience Refactor video playback in VideoModal to use direct CDN URL and update bunny.ts to use directUrl for HLS streaming. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 50814a1e-92e4-4968-856f-7bc7eedf5e8f Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/50814a1e-92e4-4968-856f-7bc7eedf5e8f/Iu4fJAO --- client/src/components/video-modal.tsx | 35 +++++++++------------------ server/bunny.ts | 10 ++++++-- 2 files changed, 20 insertions(+), 25 deletions(-) diff --git a/client/src/components/video-modal.tsx b/client/src/components/video-modal.tsx index cffb1c6..30d9d78 100644 --- a/client/src/components/video-modal.tsx +++ b/client/src/components/video-modal.tsx @@ -180,29 +180,18 @@ export default function VideoModal({ video, isOpen, onClose }: VideoModalProps)
- {video.videoUrl.includes('iframe.mediadelivery.net') ? ( -