mirror of
https://github.com/immich-app/immich.git
synced 2024-12-29 11:24:37 +02:00
fix(mobile): Motion Photos stopping music (#10151)
Add videoPlayer opt to prevent motionPhotos pausing music
This commit is contained in:
parent
4b2ed28b1a
commit
69b948f3d0
@ -31,6 +31,9 @@ Future<VideoPlayerController> videoPlayerController(
|
||||
controller = VideoPlayerController.networkUrl(
|
||||
url,
|
||||
httpHeaders: {"x-immich-user-token": accessToken},
|
||||
videoPlayerOptions: asset.livePhotoVideoId != null
|
||||
? VideoPlayerOptions(mixWithOthers: true)
|
||||
: VideoPlayerOptions(mixWithOthers: false),
|
||||
);
|
||||
}
|
||||
|
||||
|
Binary file not shown.
BIN
mobile/lib/providers/map/map_state.provider.g.dart
generated
BIN
mobile/lib/providers/map/map_state.provider.g.dart
generated
Binary file not shown.
Loading…
Reference in New Issue
Block a user