From d27f43adfe6454a39372117ade248a7c782ae5c0 Mon Sep 17 00:00:00 2001 From: Harvey Zack Date: Tue, 3 May 2022 12:17:36 +0800 Subject: [PATCH] Update mobile.html --- docs/mobile.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/mobile.html b/docs/mobile.html index 53137699b..b92e79cc0 100644 --- a/docs/mobile.html +++ b/docs/mobile.html @@ -71,9 +71,10 @@ 'x5-video-orientation': 'portraint', }, subtitle: { + url: '/assets/sample/subtitle.srt', style: { color: '#48aff0', - fontSize: '14px', + fontSize: '18px', }, }, layers: [ @@ -144,13 +145,12 @@ danmuku: '/assets/sample/danmuku-v2.xml', speed: 5, opacity: 1, - fontSize: 14, + fontSize: 16, maxlength: 100, margin: ['10%', 60], antiOverlap: true, synchronousPlayback: false, filter: (danmu) => danmu.text.length < 50, - // filter: (danmu) => danmu.mode === 1, }), ], whitelist: ['*'],