zigster64 / zig-zag-zoe

Multiplayer TicTacToe - in Zig - using HTMX for that zero-javascript experience
http://zig-zag-zoe.com
MIT License
19 stars 1 forks source link

Audio borked #13

Open zigster64 opened 11 months ago

zigster64 commented 11 months ago

On iOS, still getting some audio issues

main screen ting notifications work fine, but zero wing, bomb and victory audio is not playing

zigster64 commented 11 months ago

ok, so sorted out safari issues by running all the audio on the 1st user interaction (when the user selects a player to login as)

Plays all audio clips, with volume 0, to 'enable' them

BUT ... iOS doesnt obey the volume control, its a known bug.

There are some extremely long winded solutions to this (use the old WebKitAudio API just for iOS devices) ... but thats getting a bit out of scope for this Zig project.

Will need to address this for creating a way more polished and pro approach.

Moved to milestone 1.0 then