Merge pull request #3671 from Bnyro/master

feat: include timestamp in watch on youtube button
This commit is contained in:
Bnyro 2024-06-15 13:08:50 +02:00 committed by GitHub
commit 1f912f7e5f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@
<i class="i-fa6-solid:share mx-1.5" />
</button>
<!-- YouTube -->
<WatchOnButton :link="`https://youtu.be/${getVideoId()}`" />
<WatchOnButton :link="`https://youtu.be/${getVideoId()}?t=${Math.round(currentTime)}`" />
<!-- Odysee -->
<WatchOnButton
v-if="video.lbryId"