feat: 尝试支持配置视频背景

This commit is contained in:
Montia37
2025-09-08 03:03:31 +08:00
parent 743048bb25
commit 369ac3333f
7 changed files with 85 additions and 38 deletions

View File

@@ -20,6 +20,27 @@
"default": "/assets/Moonlit-Scenery.webp",
"help": "目前仅支持单张背景图片eg: https://test.com/1.png"
},
{
"key": "enableVedioBackground",
"name": "启用视频背景",
"type": "switch",
"default": false,
"help": "启用后将使用视频作为背景"
},
{
"key": "vedioBackgroundUrl",
"name": "视频背景链接",
"type": "string",
"default": "/assets/Mortis_1080p30fps2Mbps.mp4",
"help": "视频背景链接eg: https://test.com/1.mp4建议使用无声视频且视频文件较大时可能会影响加载速度"
},
{
"key": "enableBlur",
"name": "启用磨砂玻璃效果",
"type": "switch",
"default": true,
"help": "启用后将使主要容器拥有磨砂玻璃效果"
},
{
"key": "blurValue",
"name": "磨砂玻璃模糊值",