1
0
mirror of https://github.com/immich-app/immich.git synced 2025-06-24 04:46:50 +02:00

fix(server): display insta-360 (#3688)

This commit is contained in:
Jason Rasmussen
2023-08-14 23:14:52 -04:00
committed by GitHub
parent f1b8a7ab54
commit 7ca6f80ed2
2 changed files with 5 additions and 1 deletions

View File

@ -297,7 +297,9 @@
on:close={closeViewer}
on:onVideoEnded={() => (shouldPlayMotionPhoto = false)}
/>
{:else if asset.exifInfo?.projectionType === ProjectionType.EQUIRECTANGULAR}
{:else if asset.exifInfo?.projectionType === ProjectionType.EQUIRECTANGULAR || asset.originalPath
.toLowerCase()
.endsWith('.insp')}
<PanoramaViewer {publicSharedKey} {asset} />
{:else}
<PhotoViewer {publicSharedKey} {asset} on:close={closeViewer} />