video.js和video.css逻辑全忘记了,已经删掉了,有空重新配置,当年找文心一言配置的,但是现在我还是看不懂啊,大悲,不过现在我应该可以在genmini的帮助下搞定了吧,css我想没问题的,不过js好难啊
This commit is contained in:
@@ -1,33 +0,0 @@
|
||||
/*简易的视频布局*/
|
||||
/* 视频播放器容器样式 */
|
||||
.video-container {
|
||||
position: relative;
|
||||
width: 640px;
|
||||
}
|
||||
|
||||
/* 自定义进度条容器样式 */
|
||||
.custom-progress-bar {
|
||||
position: absolute;
|
||||
bottom: 10px;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 10px;
|
||||
background: #444;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* 自定义进度条填充样式 */
|
||||
.custom-progress-bar .fill {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 100%;
|
||||
width: 0;
|
||||
background: #f00;
|
||||
transition: width .2s; /* 平滑过渡效果 */
|
||||
}
|
||||
|
||||
/* 隐藏默认的浏览器进度条 */
|
||||
video::-webkit-media-controls-timeline {
|
||||
display: none;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user