Update mobile.html

This commit is contained in:
Harvey Zack committed 2022-05-03 12:17:36 +08:00
1 parent 9d31e8d6e0
commit d27f43adfe
1 file changed
+3 -3
+3 -3
View File
@@ -71,9 +71,10 @@
'x5-video-orientation': 'portraint', 'x5-video-orientation': 'portraint',
}, },
subtitle: { subtitle: {
url: '/assets/sample/subtitle.srt',
style: { style: {
color: '#48aff0', color: '#48aff0',
fontSize: '14px', fontSize: '18px',
}, },
}, },
layers: [ layers: [
@@ -144,13 +145,12 @@
danmuku: '/assets/sample/danmuku-v2.xml', danmuku: '/assets/sample/danmuku-v2.xml',
speed: 5, speed: 5,
opacity: 1, opacity: 1,
fontSize: 14, fontSize: 16,
maxlength: 100, maxlength: 100,
margin: ['10%', 60], margin: ['10%', 60],
antiOverlap: true, antiOverlap: true,
synchronousPlayback: false, synchronousPlayback: false,
filter: (danmu) => danmu.text.length < 50, filter: (danmu) => danmu.text.length < 50,
// filter: (danmu) => danmu.mode === 1,
}), }),
], ],
whitelist: ['*'], whitelist: ['*'],