mirror of
				https://github.com/KevinMidboe/immich.git
				synced 2025-10-29 17:40:28 +00:00 
			
		
		
		
	Implemented Video Upload and Player (#2)
* Implementing video upload features * setup image resize processor * Add video thumbnail with duration and icon * Fixed issue with video upload timeout and upper case file type on ios * Added video player page * Added video player page * Fixing video player not play on ios * Added partial file streaming for ios/android video request * Added nginx as proxy server for better file serving * update nginx and docker-compose file * Video player working correctly * Video player working correctly * Split duration to the second
This commit is contained in:
		| @@ -1,4 +1,5 @@ | ||||
| import 'package:flutter/material.dart'; | ||||
| import 'package:flutter/services.dart'; | ||||
| import 'package:hive_flutter/hive_flutter.dart'; | ||||
| import 'package:hooks_riverpod/hooks_riverpod.dart'; | ||||
| import 'package:immich_mobile/routing/router.dart'; | ||||
| @@ -12,6 +13,12 @@ void main() async { | ||||
|   // Hive.registerAdapter(ImmichBackUpAssetAdapter()); | ||||
|   // Hive.deleteBoxFromDisk(hiveImmichBox); | ||||
|  | ||||
|   SystemChrome.setSystemUIOverlayStyle( | ||||
|     const SystemUiOverlayStyle( | ||||
|       statusBarIconBrightness: Brightness.light, | ||||
|     ), | ||||
|   ); | ||||
|  | ||||
|   runApp(const ProviderScope(child: ImmichApp())); | ||||
| } | ||||
|  | ||||
| @@ -69,6 +76,7 @@ class _ImmichAppState extends ConsumerState<ImmichApp> with WidgetsBindingObserv | ||||
|       title: 'Immich', | ||||
|       debugShowCheckedModeBanner: false, | ||||
|       theme: ThemeData( | ||||
|         brightness: Brightness.light, | ||||
|         primarySwatch: Colors.indigo, | ||||
|         textTheme: GoogleFonts.workSansTextTheme( | ||||
|           Theme.of(context).textTheme.apply(fontSizeFactor: 1.0), | ||||
| @@ -79,6 +87,7 @@ class _ImmichAppState extends ConsumerState<ImmichApp> with WidgetsBindingObserv | ||||
|           foregroundColor: Colors.indigo, | ||||
|           elevation: 1, | ||||
|           centerTitle: true, | ||||
|           systemOverlayStyle: SystemUiOverlayStyle.dark, | ||||
|         ), | ||||
|       ), | ||||
|       routeInformationParser: _immichRouter.defaultRouteParser(), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user