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