Skip to content

minor annoyance: edge stops audio playback on Android #124

Description

@batram

Problem:
After installing/updating the apk on the first launch of edge audio playback on android gets stopped.
Tested on version: 0.9.19+50

Analysis:
According to AI this because on cold starts the splashscreen plays splashscreen.mp4.

Solution:
Modify boot_splash.dart to pass videoPlayerOptions: VideoPlayerOptions(mixWithOthers: true):

  final c = (widget.controllerFactory ??
      () => VideoPlayerController.asset(
            'assets/splash/splashscreen.mp4',
            videoPlayerOptions: VideoPlayerOptions(mixWithOthers: true),
          ))();

Not sure if this is worthy of a pull request 😄

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions