0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2025-01-03 14:11:08 +00:00

feat: 🕒 added sharing video link with timestamp (#72) (#605)

This commit is contained in:
Fergus Lai 2023-03-01 00:03:11 +00:00 committed by GitHub
parent 8073a1a7f5
commit 7d9247af36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -379,7 +379,12 @@ export default {
await Share.share({
title: this.video.title,
text: this.video.title,
url: "https://youtu.be/" + this.$route.query.v,
url:
"https://youtu.be/" +
this.$route.query.v +
"?t=" +
Math.round(this.$refs.player.getPlayer().currentTime) +
"s",
dialogTitle: "Share video",
});
},