Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Bug: Game sound doesn't play on opening the game on web browser #179

Open
superiorsd10 opened this issue Nov 30, 2023 · 3 comments
Open

Comments

@superiorsd10
Copy link

Description

When you open the game in any web browser, the game sound doesn't play. On muting, and unmuting the game sound through the sound button, it starts playing.

I'm using the Arc browser.

To emulate this bug, just open this game on any web browser.

Screen Recording

Screen.Recording.Nov.30.mov

I would love to work on this issue and contribute to this project, so please consider assigning it to me.

Thank you,

@ditman
Copy link
Member

ditman commented Nov 30, 2023

Sound on the web can't start playing until there's user interaction, so unless that cookie warning is shown by flutter and used to both initialize the audio of the game, and accept the cookie warning, there isn't much that can be done here.

@ditman
Copy link
Member

ditman commented Nov 30, 2023

(PS: @superiorsd10 if you want to attempt a fix, go for it!)

@superiorsd10
Copy link
Author

@ditman Yes, I would love to give it a go and make a PR if I can find any solution.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants