开发者

Phonegap`s Media does not really work

I am developing a soundboard for Android. when I play a sound via Media it plays, but if I play it some more times it suddenly does not play anymore.

any ideas?

thanks!

edit: object and embed seems not开发者_如何学JAVA to work in WebView. is there another way to play audio?

another edit: the error code number i get is 5.

edit again: error code 5 is`nt even defined on the phonegap js file:

MediaError.MEDIA_ERR_ABORTED        = 1;
MediaError.MEDIA_ERR_NETWORK        = 2;
MediaError.MEDIA_ERR_DECODE         = 3;
MediaError.MEDIA_ERR_NONE_SUPPORTED = 4;


That is a "File not found". . .

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜