From 6fe988ef6cca2742882b5357c407b70ed330e2fa Mon Sep 17 00:00:00 2001 From: halfwit Date: Thu, 19 Sep 2024 21:30:48 -0700 Subject: [PATCH] Fix html5 playback --- wwwroot/src/markup/embed.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wwwroot/src/markup/embed.php b/wwwroot/src/markup/embed.php index 7dc6ac1..26c9430 100644 --- a/wwwroot/src/markup/embed.php +++ b/wwwroot/src/markup/embed.php @@ -50,6 +50,8 @@ function embed_html5_video($input, $options = array()) } $attributes = implode(' ', $attributes); + if(preg_match("/^https?/", $input)) + return ""; return ""; }