mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-07-02 11:05:38 +02:00
fix(banner): allow motion artwork video to mix with other audio
Enable mixWithOthers on HLS motion header playback so preview audio and other apps are less likely to be ducked or interrupted.
This commit is contained in:
@@ -56,6 +56,7 @@ class _MotionHeaderBannerState extends State<MotionHeaderBanner>
|
||||
final controller = VideoPlayerController.networkUrl(
|
||||
Uri.parse(url),
|
||||
formatHint: VideoFormat.hls,
|
||||
videoPlayerOptions: VideoPlayerOptions(mixWithOthers: true),
|
||||
);
|
||||
_controller = controller;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user