mirror of
https://github.com/immich-app/immich.git
synced 2025-01-07 00:50:23 -05: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
3 changed files with 3 additions and 0 deletions
|
@ -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 a new issue