round seek element

This commit is contained in:
j 2024-12-14 19:46:20 +00:00
parent 627a016515
commit 85eba0bf09
2 changed files with 9 additions and 6 deletions

View file

@ -226,13 +226,13 @@ ol li {
.seekbar-progress [role="progressbar"]:after {
content: " ";
display: block;
width: 14px;
height: 14px;
width: 20px;
height: 20px;
position: absolute;
top: -3px;
right: -7px;
border: 2px solid #B1B1B180;
background-color: #B1B1B180;
top: -6px;
right: -10px;
background-color: #B1B1B1;
border-radius: 20px;
}
.seekbar input[type="range"] {

View file

@ -226,6 +226,9 @@ window.VideoPlayer = function(options) {
}
var showControls
function hideControlsLater() {
if (showControls) {
clearTimeout(showControls)
}
showControls = setTimeout(() => {
if (touching) {
hideControlsLater()