feat: 优化插件导入逻辑,视频插件在移动端进入锁定状态时隐藏上下梯度渐变以防止遮挡视频
This commit is contained in:
1 parent
bfc841fac2
commit
8f8d098faa
4 files changed
+11
-10
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', 'mkv']) {
|
||||
if (i.name.endsWith(s)) {
|
||||
return true
|
||||
}
|
||||
|
||||
@@ -1194,6 +1194,9 @@
|
||||
.xgplayer-mobile.xgplayer-inactive .gradient {
|
||||
background-image: initial;
|
||||
}
|
||||
.xgplayer-locked .gradient {
|
||||
background-image: initial;
|
||||
}
|
||||
.xgplayer-mobile .xgmask {
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
|
||||
Reference in new issue
Block a user