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 { .seekbar-progress [role="progressbar"]:after {
content: " "; content: " ";
display: block; display: block;
width: 14px; width: 20px;
height: 14px; height: 20px;
position: absolute; position: absolute;
top: -3px; top: -6px;
right: -7px; right: -10px;
border: 2px solid #B1B1B180; background-color: #B1B1B1;
background-color: #B1B1B180; border-radius: 20px;
} }
.seekbar input[type="range"] { .seekbar input[type="range"] {

View file

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