Improve live stream playback by initializing the video player automatically

Refactor LivePage component to use useEffect for player initialization and cleanup, and update video element attributes for autoplay, muted, and cross-origin.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 45a1dcfc-f8a2-475a-a6b9-96fbb841dc27
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/60d372ff-2c10-46c7-b01b-10c3435136b0/45a1dcfc-f8a2-475a-a6b9-96fbb841dc27/FiYsh04
This commit is contained in:
sebastjanartic
2025-09-26 15:33:12 +00:00
parent 8e8d19504e
commit 664c4a7875
2 changed files with 21 additions and 15 deletions
+4
View File
@@ -23,6 +23,10 @@ externalPort = 3001
localPort = 35637
externalPort = 3000
[[ports]]
localPort = 41879
externalPort = 3002
[env]
PORT = "5000"