From 590fa48fbc0ccac3a1162cbaf2bb9708dd872b7a Mon Sep 17 00:00:00 2001 From: ymq Date: Wed, 12 Aug 2026 11:15:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20VideoPlayer=E5=8E=BB=E6=8E=89cheight?= =?UTF-8?q?=E6=94=B9=E7=94=A8autoplay?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wwwroot/knowledge_bases_list/search_result.dspy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wwwroot/knowledge_bases_list/search_result.dspy b/wwwroot/knowledge_bases_list/search_result.dspy index dbda22b..1d7646f 100644 --- a/wwwroot/knowledge_bases_list/search_result.dspy +++ b/wwwroot/knowledge_bases_list/search_result.dspy @@ -250,7 +250,7 @@ else: ext = h["file_ext"] if ext in video_exts: if media_url: - card_subwidgets.append({"widgettype": "VideoPlayer", "options": {"url": media_url, "width": "100%", "cheight": 18}}) + card_subwidgets.append({"widgettype": "VideoPlayer", "options": {"url": media_url, "width": "100%", "autoplay": true}}) elif ext in audio_exts: if media_url: card_subwidgets.append({"widgettype": "Html", "options": {"html": "", "padding": "4px 0"}})