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

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"