From c035c0bd4dc071f9c3751b0bdec77b2cfc75bcd4 Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Sat, 30 Aug 2025 12:44:12 +0000 Subject: [PATCH] Update video player to use correct URLs Updates the video player component to use `videoUrlMp4` and `videoUrl` properties for MP4 and HLS sources respectively, instead of the previously used `mp4Url` and `hlsUrl`. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 074b0e4c-6171-43bd-aa98-f9e04623ca14 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/074b0e4c-6171-43bd-aa98-f9e04623ca14/6upLu3q --- client/src/components/video-card.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/src/components/video-card.tsx b/client/src/components/video-card.tsx index 105b865..e16eddc 100644 --- a/client/src/components/video-card.tsx +++ b/client/src/components/video-card.tsx @@ -136,12 +136,12 @@ export default function VideoCard({ video, onClick, className = "" }: VideoCardP onCanPlay={() => console.log('Preview ready for:', video.title)} > {/* Try MP4 source first for faster loading on mobile */} - {video.mp4Url && ( - + {video.videoUrlMp4 && ( + )} {/* Fallback to HLS if MP4 fails */} - {video.hlsUrl && ( - + {video.videoUrl && ( + )}