Improve video playback and address video player issues reported by users

Updates video player to prioritize HLS streaming and adds iframe and MP4 fallbacks.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: aa92e7e2-ec62-4c92-b21b-02ef78a664c2
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/aa92e7e2-ec62-4c92-b21b-02ef78a664c2/VbkE0SA
This commit is contained in:
sebastjanartic
2025-08-04 20:28:42 +00:00
parent d6408b7df6
commit ecb86b1873
3 changed files with 18 additions and 28 deletions
+2
View File
@@ -9,6 +9,8 @@ export const videos = pgTable("videos", {
description: text("description"),
thumbnailUrl: text("thumbnail_url").notNull(),
videoUrl: text("video_url").notNull(),
videoUrlMp4: text("video_url_mp4"),
videoUrlIframe: text("video_url_iframe"),
duration: integer("duration").notNull(), // in seconds
views: integer("views").notNull().default(0),
category: text("category"),