diff --git a/NUXT/components/Player/index.vue b/NUXT/components/Player/index.vue index 2ba08fb..bb972ca 100644 --- a/NUXT/components/Player/index.vue +++ b/NUXT/components/Player/index.vue @@ -149,10 +149,9 @@ = 3) { vid.addEventListener("timeupdate", () => { - this.duration = this.$vuetube.humanTime(vid.duration); - this.watched = this.$vuetube.humanTime(vid.currentTime); if (!this.seeking) this.progress = vid.currentTime; // console.log("sb check", this.blocks); diff --git a/NUXT/components/Player/watchtime.vue b/NUXT/components/Player/watchtime.vue index 770da08..6571a45 100644 --- a/NUXT/components/Player/watchtime.vue +++ b/NUXT/components/Player/watchtime.vue @@ -3,18 +3,14 @@ style="color: #fff; left: 1rem; font-size: 0.75rem; position: absolute" :style="fullscreen ? 'bottom: 4.25rem' : 'bottom: 1rem'" > - {{ watched }} - / {{ duration }} + {{ $vuetube.humanTime(currentTime) }} + / {{ $vuetube.humanTime(duration) }}