feat: 支持微信视频消息解析与播放

支持视频 XML 解析、本地文件映射与拖动播放。

修复源码乱码注释并统一 UTF-8 编码。
This commit is contained in:
Wxw-Gu
2026-07-24 14:16:34 +08:00
parent 430a36333b
commit 8488e81bb5
13 changed files with 410 additions and 23 deletions
+48
View File
@@ -1375,6 +1375,54 @@ body {
display: none;
}
.video-message-bubble {
padding: 0;
overflow: hidden;
background: #101412;
border-color: rgba(0, 0, 0, 0.12);
}
.wechat-message-row.mine .video-message-bubble {
background: #101412;
}
.video-message {
position: relative;
width: min(320px, 48vw);
min-height: 140px;
background: #101412;
}
.video-content {
display: block;
width: 100%;
max-height: 360px;
object-fit: contain;
background: #101412;
}
.video-duration {
position: absolute;
right: 8px;
top: 8px;
padding: 2px 6px;
border-radius: 8px;
color: #fff;
background: rgba(0, 0, 0, 0.55);
font-size: 11px;
pointer-events: none;
}
.video-placeholder {
display: grid;
place-items: center;
width: min(260px, 44vw);
min-height: 120px;
padding: 16px;
color: rgba(255, 255, 255, 0.78);
text-align: center;
}
.image-bubble {
position: relative;
max-width: min(260px, 46vw);