flame-engine / flame-engine/flame

[flame_audio] Playback progress can be manually adjusted in iOS browser

Open
#3,621 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Dart
Stars
10.8k
Forks
1k
Avg merge
1d 20h
Merged PRs (30d)
21

Description

### What happened?

![Image](https://github.com/user-attachments/assets/5d1ede16-b34a-4299-a1ad-7cbd190f46dc)

As shown in the screenshot, the game's audio can be manually controlled through the Dynamic Island in the iOS browser.

### What do you expect?

I would prefer that the audio controller does not appear, so the audio cannot be arbitrarily controlled, just like in other web-based mobile games.

### How can we reproduce this?

```dart
FlameAudio.play('effect.mp3');
```
- `flutter build web --wasm`
- Used vercel to host game

### What steps should take to fix this?

_No response_

### Do have an example of where the bug occurs?

_No response_

### Relevant log output

```shell

```

### Execute in a terminal and put output into the code block below

_No response_

### Affected platforms

iOS, Web

### Other information

_No response_

### Are you interested in working on a PR for this?

- [ ] I want to work on this

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.