feat: include timestamp in watch on youtube button

This commit is contained in:
Bnyro 2024-06-15 13:04:22 +02:00
parent a8fb7421e6
commit 0d9f5dba4c

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"