Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

视频背景上传在移动端会有上下大黑边 #522

Open
laughtLOOL opened this issue Sep 2, 2024 · 1 comment
Open

视频背景上传在移动端会有上下大黑边 #522

laughtLOOL opened this issue Sep 2, 2024 · 1 comment

Comments

@laughtLOOL
Copy link

Describe the bug
在图片中并没有这个问题,图片能够自动裁切并显示在手机和电脑上
没有测试过竖屏壁纸在电脑端情况

在原来的效果上,移动端的视频会出现逆天的上下黑边的情况
image

请修改css让视频显得正常点
这是修改后的样子
image
image

已通过修改本地文件css实现效果,不过在编译后每次都要手动修改文件有点麻烦
.login-page .video video{width:100%;height:100%;position:fixed;object-fit:cover}
修改的代码是这个
有需要的朋友也可以自行在/www/luci-static/argon/css/中修改cascade.css 搜关键词就能找到
image
目前有一个不完美的是竖屏视频在横屏里会出现上下被裁切,

Openwrt (please complete the following information):

固件版本 ad 08.20.2024 by ad / LuCI Master git-25.206.62814-57777b9
内核版本 5.15.162

luci-app-argon-config | git-25.219.56239-ecd1f90 | 5.43 KiB | LuCI for Argon theme configuration

luci-theme-argon | git-25.219.17620-e4ea3ae | 382.00 KiB | Argon Theme

Desktop (please complete the following information):
Microsoft Edge
Version 128.0.2739.54 (Official build) (64-bit)

chrome
版本 128.0.6613.113(正式版本) (64 位)

Repository owner deleted a comment Sep 2, 2024
@sbwml
Copy link

sbwml commented Sep 20, 2024

iOS Safari 不能播放视频,大佬有遇到这种情况吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants