feat: 更新视频播放器组件,添加章节视频功能并优化返回逻辑
This commit is contained in:
@@ -53,6 +53,14 @@
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.yb-player-time {
|
||||
min-width: 38px;
|
||||
}
|
||||
|
||||
/* .yb-player-duration {
|
||||
width: 35px;
|
||||
} */
|
||||
|
||||
.yb-player-bottom-progress {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
@@ -120,22 +128,22 @@
|
||||
width: 0;
|
||||
flex: 1;
|
||||
position: relative;
|
||||
height: 2px;
|
||||
height: 30px;
|
||||
margin: 0 10px;
|
||||
}
|
||||
.yb-player-range-track {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
top: 14px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
bottom: 14px;
|
||||
background-color: #999;
|
||||
}
|
||||
.yb-player-range-focus, .yb-player-range-preload {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
top: 14px;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
bottom: 14px;
|
||||
background-color: #fff;
|
||||
width: 0;
|
||||
}
|
||||
@@ -162,7 +170,7 @@
|
||||
background: none;
|
||||
outline: none;
|
||||
width: 100%;
|
||||
height: 2px;
|
||||
height: 30px;
|
||||
margin: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
@@ -501,6 +509,11 @@
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
z-index: 1;
|
||||
background-color: rgba(0, 0, 0, 0.3);
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.yb-player-center svg {
|
||||
width: 50px;
|
||||
|
||||
Reference in New Issue
Block a user