feat: 为xgplayer增加一个类似于bilibili的锁定的插件
This commit is contained in:
1 parent
3a18bb3cbd
commit
54c48c0f8f
5 files changed
+174
-8
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user