feat(video): add video fit toggle button and update styling

- Add toggle button to switch between 'cover' and 'contain' video fit modes
- Update video background styling for simpler positioning
- Group upload and fit buttons in a flex container
This commit is contained in:
2025-07-16 14:21:15 +08:00
parent 6906829305
commit 27d9cea6d2
4 changed files with 30 additions and 10 deletions
+5 -2
View File
@@ -30,8 +30,11 @@
<!-- 中间区域,用于放置上传按钮 -->
<main class="center-content">
<label for="video-upload" class="upload-button">Change Background</label>
<input type="file" id="video-upload" accept="video/*" hidden>
<div class="button-container">
<label for="video-upload" class="upload-button">更换背景</label>
<input type="file" id="video-upload" accept="video/*" hidden>
<button id="toggle-fit-button" class="upload-button">适应高度</button>
</div>
</main>
<!-- 底部麦克风和链接 -->