Add Python video server with range support

Co-authored-by: mathieumoran1 <[email protected]>
This commit is contained in:
Cursor Agent
2025-12-21 01:00:40 +00:00
co-authored by mathieumoran1
parent 206ca2e9d7
commit 917cd32e77
7 changed files with 250 additions and 2 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ function looksLikeHls(url) {
function looksLikeVideoFile(url) {
const s = String(url || '').toLowerCase();
// common direct file extensions
return /\.(mp4|webm|ogg|ogv|mov|m4v)(\?|#|$)/.test(s);
return /\.(mp4|mkv|webm|ogg|ogv|mov|m4v)(\?|#|$)/.test(s);
}
function toYoutubeEmbed(url) {