NKJ-C4 / stalin-game

Just started working on javascript. Why not start with something fun rather than the old school "cOmpEtiTiVE pRogRamMinG" way...
https://nkj-c4.github.io/stalin-game
0 stars 0 forks source link

BGM doesn't work. #1

Closed gaurav-src closed 3 years ago

gaurav-src commented 3 years ago

Clicking on the top left icon to toggle BGM just doesn't work. It stays muted.

This issue breaks the immersion. Can't stay motivated for the motherland.

/s

NKJ-C4 commented 3 years ago

Fiefox users need to "allow" playing audio first :) Autoplay features are by default denied by the browser.

NKJ-C4 commented 3 years ago

In addition, the normal HTML attribute "autoplay" seems to be functioning only when followed by a "muted" attribute. And no sense leaving a BGM muted - for the USERS to explicitly PLAY it. So, bear the pain with me comrade ;_;

gaurav-src commented 3 years ago

Ok, the hymn works as intended. You are a gem to the Mother Motherland. Thank you for your service.