From ae4d9bb8f769a33f3724a72a38a2804bb1f43925 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=81=E5=91=A8=E9=83=A8=E8=90=BD?= Date: Tue, 17 Aug 2021 10:18:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20=E5=8D=9A=E5=AE=A2?= =?UTF-8?q?=E4=BB=A5=E5=8F=8A=E9=97=A8=E6=88=B7=E6=96=87=E7=AB=A0=E7=9A=84?= =?UTF-8?q?=E8=A7=86=E9=A2=91=E8=A7=A3=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- upload/source/function/function_blog.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/upload/source/function/function_blog.php b/upload/source/function/function_blog.php index 6bd08930a..80e63b046 100644 --- a/upload/source/function/function_blog.php +++ b/upload/source/function/function_blog.php @@ -321,6 +321,10 @@ function blog_flash($url, $type='') { $height = '390'; preg_match("/((https?|ftp|gopher|news|telnet|rtsp|mms|callto|bctp|thunder|qqdl|synacast){1}:\/\/|www\.)[^\[\"']+/i", $url, $matches); $url = $matches[0]; + require_once libfile('function/discuzcode'); + if($flv = parseflv($url, $width, $height)) { + return $flv; + } $type = fileext($url); $randomid = random(3); return '
'; -- Gitee