aduros / flambe

Rapidly cook up games for HTML5, Flash, Android, and iOS.
https://github.com/aduros/flambe/wiki
MIT License
745 stars 118 forks source link

sound not work on some android web browser #344

Open sonygod opened 9 years ago

sonygod commented 9 years ago

http://tubemate.net/

I just test this web browser or wechat browser ,found that may be flambe auto switch code is wrong

on that browser, hope can fixed that .

sonygod commented 9 years ago

"flambe: Initialized HTML platform [renderer=Canvas]" Connection established with http://192.168.1.103:7000/ Mozilla/5.0 (Linux; Android 4.4.2; LG-F200L Build/KOT49I.F200L30i) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Mobile Safari/537.36 MicroMessenger/6.1.0.74_r1098891.543 NetType/WIFI "flambe: HTML5 audio is blacklisted for this browser [userAgent=Mozilla/5.0 (Linux; Android 4.4.2; LG-F200L Build/KOT49I.F200L30i) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Mobile Safari/537.36 MicroMessenger/6.1.0.74_r1098891.543 NetType/WIFI]" "flambe: Catapult connected" "flambe: Could not find a supported audio format to load [name=sounds/Coin]" "flambe: Could not find a supported audio format to load [name=sounds/lose]" "flambe: Could not find a supported audio format to load [name=sounds/press]" "flambe: Could not find a supported audio format to load [name=sounds/ying]"

markknol commented 9 years ago

What device is this? It is true that Flambe does not support audio on all android devices, or even blacklist them because the support in the browsers is very poor. Not sure if this is the case.