mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-29 19:41:25 -08:00
Update mobile.html
This commit is contained in:
1 parent
9d31e8d6e0
commit
d27f43adfe
1 file changed
+3
-3
+3
-3
@@ -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: ['*'],
|
||||||
|
|||||||
Reference in new issue
Block a user