diff --git a/src/components/VideoPlayer.vue b/src/components/VideoPlayer.vue
index cd7ef098..1e41125c 100644
--- a/src/components/VideoPlayer.vue
+++ b/src/components/VideoPlayer.vue
@@ -33,6 +33,13 @@
v-t="{ path: 'player.failed', args: [error] }"
class="absolute top-8 rounded bg-black/80 p-2 text-lg backdrop-blur-sm"
/>
+
+
+
+
@@ -86,6 +93,8 @@ export default {
inSegment: false,
isHoveringTimebar: false,
showSpeedModal: false,
+ showCurrentSpeed: false,
+ hideCurrentSpeed: null,
playbackSpeedInput: null,
currentTime: 0,
seekbarPadding: 2,
@@ -679,6 +688,10 @@ export default {
adjustPlaybackSpeed(newSpeed) {
const normalizedSpeed = Math.min(4, Math.max(0.25, newSpeed));
this.$player.trickPlay(normalizedSpeed);
+ if (this.hideCurrentSpeed) window.clearTimeout(this.hideCurrentSpeed);
+ this.showCurrentSpeed = false;
+ this.showCurrentSpeed = true;
+ this.hideCurrentSpeed = window.setTimeout(() => (this.showCurrentSpeed = false), 1500);
},
setSpeedFromInput() {
try {