player: support for t query parameter

This commit is contained in:
FireMasterK 2021-01-07 13:58:31 +05:30
parent bc8525eb2b
commit 0799485c96
No known key found for this signature in database
GPG Key ID: 8DFF5DD33E93DB58

View File

@ -169,6 +169,9 @@ export default {
); );
} }
if (this.$route.query.t)
this.player.currentTime(this.$route.query.t);
this.player.hotkeys({ this.player.hotkeys({
volumeStep: 0.1, volumeStep: 0.1,
seekStep: 5, seekStep: 5,