diff --git a/materialious/src/lib/components/player/Player.svelte b/materialious/src/lib/components/player/Player.svelte index b945b29c..20579e15 100644 --- a/materialious/src/lib/components/player/Player.svelte +++ b/materialious/src/lib/components/player/Player.svelte @@ -61,6 +61,7 @@ import { ScreenOrientation, type ScreenOrientationResult } from '@capacitor/screen-orientation'; import ClosedCaptions from './ClosedCaptions.svelte'; import { getVideoWatchHistory, updateWatchHistory } from '$lib/api'; + import { resolve } from '$app/paths'; interface Props { data: { video: VideoPlay; content: ParsedDescription; playlistId: string | null }; @@ -819,9 +820,11 @@ {videoLength(currentTime)} / {videoLength(playerMaxKnownTime)} {/if}
-- {playerVideoEndTimePretty} -
+ {#if playerVideoEndTimePretty && playerVideoEndTimePretty !== ''} ++ {playerVideoEndTimePretty} +
+ {/if} {/if}