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(`black ${start + 0.1}%`);
array.push(`transparent ${start + 0.1}%`); array.push(`transparent ${start + 0.1}%`);
} }
console.log(800, array, this.seekbar); seekbar.style.background = `linear-gradient(${array.join(",")})`;
if (seekbar) seekbar.style.background = `linear-gradient(${array.join(",")})`;
seekbar.addEventListener("mouseup", () => {
console.log(111);
this.$refs.videoEl.focus();
});
}, },
async updateProgressDatabase(time) { async updateProgressDatabase(time) {
// debounce // debounce