feat: 视频插件移动端优化

This commit is contained in:
539943419 committed 2024-09-29 20:27:42 +08:00
1 parent cba20150be
commit 65c17a8ce3
2 files changed
+86 -93

No files matched your search

@@ -52,19 +52,22 @@ const { setVideo } = (() => {
videoFillMode: 'contain',
autoplay: true,
download: true,
ignores: [videos.length === 0 ? 'playNext' : undefined].filter(v => v) as string[],
lang: 'zh-cn',
playbackRate: [0.1, 0.3, 0.5, 0.75, 1, 1.5, 2, 3, 5, 10],
texttrack,
screenShot: {
saveImg: true,
quality: 1,
type: 'image/png',
format: '.png'
},
lang: 'zh-cn',
playbackRate: [0.1, 0.3, 0.5, 0.75, 1, 1.5, 2, 3, 5, 10],
playNext: {
urlList: videos.map(v => v.url)
},
texttrack,
ignores: [videos.length === 0 ? 'playNext' : undefined].filter(v => v) as string[]
progress: {
isDragingSeek: true
}
})
}
return {