[PR #200] [MERGED] 20 video conversion for web view #8505

Closed
opened 2026-02-05 13:48:27 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/200
Author: @alextran1502
Created: 6/5/2022
Status: Merged
Merged: 6/5/2022
Merged by: @alextran1502

Base: mainHead: 20-video-conversion-for-web-view


📝 Commits (7)

  • 0e651f9 Added job for video conversion every 1 minute
  • a141d6c Handle get video as mp4 on the web
  • 6168bcd Auto play video on web on hover
  • 3d4f3f4 Added video player
  • 54a7fb4 Added animation and video duration to thumbnail player
  • 1c6290e Fixed issue with video not playing on hover
  • 54787d0 Added animation when loading thumbnail

📊 Changes

17 files changed (+372 additions, -51 deletions)

View changed files

📝 server/src/api-v1/asset/asset.module.ts (+1 -1)
📝 server/src/api-v1/asset/asset.service.ts (+16 -5)
📝 server/src/api-v1/asset/entities/asset.entity.ts (+3 -0)
📝 server/src/app.module.ts (+1 -1)
server/src/migration/1654299904583-UpdateAssetTableWithEncodeVideoPath.ts (+17 -0)
📝 server/src/modules/background-task/background-task.module.ts (+2 -1)
📝 server/src/modules/image-optimize/image-optimize.module.ts (+1 -1)
📝 server/src/modules/schedule-tasks/schedule-tasks.module.ts (+19 -1)
server/src/modules/schedule-tasks/video-conversion.processor.ts (+56 -0)
server/src/modules/schedule-tasks/video-conversion.service.ts (+50 -0)
📝 web/package-lock.json (+19 -0)
📝 web/package.json (+1 -0)
📝 web/src/lib/components/asset-viewer/asset-viewer.svelte (+11 -10)
📝 web/src/lib/components/asset-viewer/immich-thumbnail.svelte (+99 -29)
web/src/lib/components/asset-viewer/video-viewer.svelte (+75 -0)
📝 web/src/lib/components/shared/loading-spinner.svelte (+1 -1)
📝 web/src/routes/photos/[assetId].svelte (+0 -1)

📄 Description

  • Added job for video conversion every 1 minute
  • Handle get video as mp4 on the web
  • Auto play video on web on hover
  • Added video player
  • Added animation and video duration to thumbnail player
  • Fixed issue with video not playing on hover
  • Added animation when loading thumbnail

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/immich-app/immich/pull/200 **Author:** [@alextran1502](https://github.com/alextran1502) **Created:** 6/5/2022 **Status:** ✅ Merged **Merged:** 6/5/2022 **Merged by:** [@alextran1502](https://github.com/alextran1502) **Base:** `main` ← **Head:** `20-video-conversion-for-web-view` --- ### 📝 Commits (7) - [`0e651f9`](https://github.com/immich-app/immich/commit/0e651f99ea28fb60375e1b79163af7a7168c54c7) Added job for video conversion every 1 minute - [`a141d6c`](https://github.com/immich-app/immich/commit/a141d6c7fca0ef4d6dcea14f7c2b904da7f40e23) Handle get video as mp4 on the web - [`6168bcd`](https://github.com/immich-app/immich/commit/6168bcd7d5f02f906e259a6ca7d851d321ddccb6) Auto play video on web on hover - [`3d4f3f4`](https://github.com/immich-app/immich/commit/3d4f3f4cd3960ea535e0743b378ad3a8b175f29d) Added video player - [`54a7fb4`](https://github.com/immich-app/immich/commit/54a7fb417b28b7ff3254100afc289000e53a0fbd) Added animation and video duration to thumbnail player - [`1c6290e`](https://github.com/immich-app/immich/commit/1c6290e98efab3fa699d9dd12ccdbcedfe14f677) Fixed issue with video not playing on hover - [`54787d0`](https://github.com/immich-app/immich/commit/54787d00f9da71eed56ad55fbd2c2ad1a68eeef2) Added animation when loading thumbnail ### 📊 Changes **17 files changed** (+372 additions, -51 deletions) <details> <summary>View changed files</summary> 📝 `server/src/api-v1/asset/asset.module.ts` (+1 -1) 📝 `server/src/api-v1/asset/asset.service.ts` (+16 -5) 📝 `server/src/api-v1/asset/entities/asset.entity.ts` (+3 -0) 📝 `server/src/app.module.ts` (+1 -1) ➕ `server/src/migration/1654299904583-UpdateAssetTableWithEncodeVideoPath.ts` (+17 -0) 📝 `server/src/modules/background-task/background-task.module.ts` (+2 -1) 📝 `server/src/modules/image-optimize/image-optimize.module.ts` (+1 -1) 📝 `server/src/modules/schedule-tasks/schedule-tasks.module.ts` (+19 -1) ➕ `server/src/modules/schedule-tasks/video-conversion.processor.ts` (+56 -0) ➕ `server/src/modules/schedule-tasks/video-conversion.service.ts` (+50 -0) 📝 `web/package-lock.json` (+19 -0) 📝 `web/package.json` (+1 -0) 📝 `web/src/lib/components/asset-viewer/asset-viewer.svelte` (+11 -10) 📝 `web/src/lib/components/asset-viewer/immich-thumbnail.svelte` (+99 -29) ➕ `web/src/lib/components/asset-viewer/video-viewer.svelte` (+75 -0) 📝 `web/src/lib/components/shared/loading-spinner.svelte` (+1 -1) 📝 `web/src/routes/photos/[assetId].svelte` (+0 -1) </details> ### 📄 Description - Added job for video conversion every 1 minute - Handle get video as mp4 on the web - Auto play video on web on hover - Added video player - Added animation and video duration to thumbnail player - Fixed issue with video not playing on hover - Added animation when loading thumbnail --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 13:48:27 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#8505