Improve video ad integration and streamline video player initialization sequence

Initialize the Video.js player without sources, load ads plugin immediately, and then set the video source in `client/src/components/video-modal.tsx`, while attaching an image.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 11420304-80a9-4ef2-adff-cbdaa418ffa8
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/11420304-80a9-4ef2-adff-cbdaa418ffa8/cKeR57s
This commit is contained in:
sebastjanartic
2025-08-05 06:12:10 +00:00
parent bc727b1d36
commit 5465e174e7
2 changed files with 28 additions and 51 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 299 KiB