Skip to content

Commit 4341b09

Browse files
Zlendysavely-krasovsky
authored andcommitted
fix(web): Video memories are played at 100% volume instead of respecting user preference (immich-app#17424)
1 parent b431f45 commit 4341b09

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

web/src/lib/components/memory-page/memory-viewer.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
import { assetViewingStore } from '$lib/stores/asset-viewing.store';
2929
import { type Viewport } from '$lib/stores/assets-store.svelte';
3030
import { type MemoryAsset, memoryStore } from '$lib/stores/memory.store.svelte';
31-
import { locale, videoViewerMuted } from '$lib/stores/preferences.store';
31+
import { locale, videoViewerMuted, videoViewerVolume } from '$lib/stores/preferences.store';
3232
import { preferences } from '$lib/stores/user.store';
3333
import { getAssetPlaybackUrl, getAssetThumbnailUrl, handlePromiseError, memoryLaneTitle } from '$lib/utils';
3434
import { cancelMultiselect } from '$lib/utils/asset-utils';
@@ -449,6 +449,7 @@
449449
poster={getAssetThumbnailUrl({ id: current.asset.id, size: AssetMediaSize.Preview })}
450450
draggable="false"
451451
muted={$videoViewerMuted}
452+
volume={$videoViewerVolume}
452453
transition:fade
453454
></video>
454455
{:else}

0 commit comments

Comments
 (0)