feat(web): use thumbhash as a cache key (#16106)

Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
Jason Rasmussen
2025-02-15 22:34:13 -05:00
committed by GitHub
parent c524fcf084
commit f386b4d377
8 changed files with 41 additions and 38 deletions

View File

@@ -6,7 +6,7 @@
interface Props {
assetId: string;
projectionType: string | null | undefined;
checksum: string;
cacheKey: string | null;
loopVideo: boolean;
onClose?: () => void;
onPreviousAsset?: () => void;
@@ -18,7 +18,7 @@
let {
assetId,
projectionType,
checksum,
cacheKey,
loopVideo,
onPreviousAsset,
onClose,
@@ -33,7 +33,7 @@
{:else}
<VideoNativeViewer
{loopVideo}
{checksum}
{cacheKey}
{assetId}
{onPreviousAsset}
{onNextAsset}