javascript - My sounds are not playing in Chrome -


i have small, basic 3d game runs in browsers. issue when runs in chrome can see in console messages sounds "pending" , don't play when should. thing after time have passed sounds play @ same time. doesn't seem happening anywhere else, in chrome. came across article posted did not solve issue. in case running version 43.0.2357.81 m of chrome , using sound manager 2 library (i needed in order have sound work ie 9 , up).

can offer suggestions or point me more articles might point me solution? many in advance!

turn on logging in chrome (inspect element/console - preserve log) , see code doing.

also, try enabling/disabling audio flags sure set them default when done. chrome://flags/#disable-encrypted-media chrome://flags/#disable-prefixed-encrypted-media/ chrome://flags/#try-supported-channel-layouts chrome://flags/#enable-delay-agnostic-aec chrome://flags/#disable-delay-agnostic-aec chrome://flags/#enable-tab-audio-muting

in chrome , see if makes difference.

just shooting hip on information given though, imagine chrome delaying audio javascript execution end of page load. moving script beginning of page, or using async fix this. here resource javascript page load issues: http://www.html5rocks.com/en/tutorials/speed/script-loading/


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -