feat(canvas): 视频节点 - 接入 Vidstack 播放器并收敛任务查询范围

This commit is contained in:
ddCat
2026-07-31 20:19:12 +08:00
parent 8de9b42c00
commit 53483b3d39
8 changed files with 144 additions and 12 deletions

View File

@@ -0,0 +1,17 @@
.canvas-video-player [data-media-provider] {
width: 100%;
height: 100%;
aspect-ratio: auto;
}
.canvas-video-player [data-media-provider] video {
width: 100%;
height: 100%;
aspect-ratio: auto;
object-fit: contain;
}
/* 画布节点顶部还有标题和存储状态,隐藏 Vidstack 小布局的顶部控制组避免互相遮挡。 */
.canvas-video-player-compact .vds-video-layout[data-sm] .vds-controls-group:first-child {
display: none;
}