feat(canvas): 视频节点 - 接入 Vidstack 播放器并收敛任务查询范围
This commit is contained in:
17
web/src/components/video-player.css
Normal file
17
web/src/components/video-player.css
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user