From 0799485c96c3db713ffd1292fb22546b6a310db5 Mon Sep 17 00:00:00 2001 From: FireMasterK <20838718+FireMasterK@users.noreply.github.com> Date: Thu, 7 Jan 2021 13:58:31 +0530 Subject: [PATCH] player: support for t query parameter --- src/components/WatchVideo.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/WatchVideo.vue b/src/components/WatchVideo.vue index fdff36d4..024d94ae 100644 --- a/src/components/WatchVideo.vue +++ b/src/components/WatchVideo.vue @@ -169,6 +169,9 @@ export default { ); } + if (this.$route.query.t) + this.player.currentTime(this.$route.query.t); + this.player.hotkeys({ volumeStep: 0.1, seekStep: 5,