feat: 为xgplayer增加一个类似于bilibili的锁定的插件

This commit is contained in:
539943419 committed 2024-09-26 17:02:28 +08:00
1 parent 3a18bb3cbd
commit 54c48c0f8f
5 files changed
+174 -8

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ const pluginConfig: registerComponentOption = {
return false
}
for (let i of vFiles) {
for (let s of ['mp4']) {
for (let s of ['mp4', 'mp3']) {
if (i.name.endsWith(s)) {
return true
}