怎么解决? APK下载 作者: trentswd 时间: 2015-10-27 23:24
bgm是不是都有m4a版本?
用手机的chrome打开index.html能不能玩?作者: tseyik 时间: 2015-10-27 23:47
Html5 audio用的好像是ogg作者: 鸟猫 时间: 2015-10-28 00:12
你是用什么打包的?crosswalk 还是eclipse直接打包的作者: 鸟猫 时间: 2015-10-28 00:45
我记得f1里说了,浏览器必须包含支持webview,里面有提到你这里的音频问题。
Browsers which package games as apps are "Browser Engines" which handle the Web display and sounds, and have Android built-in (called WebView). However, browser engines with Android built-in seem to be lagging behind a little when it comes to supporting HTML5. Because of this reason, we will be giving instructions which use a technology called "Crosswalk Project" that uses the Chrome browser which has a high level of support for HTML5.
A similar explanation to the explanation found on this page can be viewed on the Crosswalk Project website so please check it out. 作者: 528983430 时间: 2015-10-28 05:53
手机浏览器问题吧,就像IE这种上古神器也会遇到这种问题。和手机只能使用M4a,ogg是不会打包进去的。(没有选择Chrome大概就是使用了默认浏览器打开了吧)作者: 小鱼子 时间: 2015-10-28 06:10
你在打包的时候用npm下载并且合并一个crosswalk进去,这样就通用支持了。作者: 玄机子 时间: 2015-10-29 14:24
好复杂......作者: grayuncle 时间: 2015-10-29 15:46 http://wex5.com/cn/wex5-how-use/
此方法使用背景音乐就出错!哎~