diff --git a/materialious/src/lib/components/ShareVideo.svelte b/materialious/src/lib/components/ShareVideo.svelte index 2afff642..f28465f3 100644 --- a/materialious/src/lib/components/ShareVideo.svelte +++ b/materialious/src/lib/components/ShareVideo.svelte @@ -8,20 +8,37 @@ interface Props { video: VideoBase | Video | Notification | PlaylistPageVideo; + currentTime?: number; } - let { video }: Props = $props(); + let { video, currentTime = $bindable() }: Props = $props(); + let includeTimestamp: boolean = $state(false); +{#if currentTime !== undefined} +
  • + +
    {$_('player.share.includeTimestamp')}
    +
  • +
    +{/if}