seekbar focus

This commit is contained in:
nieve 2024-06-09 23:55:32 -04:00
parent 3c6087cc03
commit 168b9d3246

View file

@ -685,8 +685,12 @@ export default {
array.push(`black ${start + 0.1}%`);
array.push(`transparent ${start + 0.1}%`);
}
console.log(800, array, this.seekbar);
if (seekbar) seekbar.style.background = `linear-gradient(${array.join(",")})`;
seekbar.style.background = `linear-gradient(${array.join(",")})`;
seekbar.addEventListener("mouseup", () => {
console.log(111);
this.$refs.videoEl.focus();
});
},
async updateProgressDatabase(time) {
// debounce