luceroweb / haunted-house-game

https://luceroweb.github.io/haunted-house-game/
1 stars 12 forks source link

No Sound when strarting game or playing, Just door sound #104

Open Villalpando2021 opened 2 years ago

Villalpando2021 commented 2 years ago

Environment

Device: HP ProBook 440 G7 - Version: 10.0.19042 Build 19041 Browser: Google Chrome Version 93.0.4577.63 (Official Build) (64-bit) User type: User

Description

No sound when strarting game or playing, unless you are using earbuds/headphones then you can hear

Expected Behavior

expecting to hear some type of spooky music without the headphones

Actual Behavior

low low sound

Steps to Reproduce Issue

1.Go to website and play

Screenshot

https://user-images.githubusercontent.com/93009547/139154520-cbaca555-9334-446d-a1fa-7d09341c912b.mp4

luceroweb commented 2 years ago

@Villalpando2021 is this ticket a duplicate of #94?

cc @darlanebrown @ProjectErostribe @lreyes-qae

Villalpando2021 commented 2 years ago

I don't believe so

luceroweb commented 2 years ago

@Villalpando2021 the background audio volume is very low. Most users with headphones report that they are in fact able to hear the background audio. Could you try using earbuds/headphones or turning your computer sound up to see if you are able to hear the soudns?

Villalpando2021 commented 2 years ago

Yeah your right with the headphones I could here it

alberme commented 2 years ago

Hi @Villalpando2021 i marked this ticket as duplicate since we had other tickets addressing this same issue. Here's an explanation from #96 of whats going on and what I did to minimally solve the issue.

unfortunately auto playing audio on first page load without user gestures, such as clicking a button, is a security limitation of modern browsers. Based on my time constraints, I may or may not continue finding an optimal solution but for now my minimal viable solution is the user would need to toggle the audio button or click one of the start game buttons to get audio playing.

We may also try raising the ambient volume a little more but we do not want it overwhelming all the other sounds.

cc @luceroweb @lreyes-qae