开发者

How to change behavior regarding "Cannot play video" error

I am trying to play a video via HTTP. It sometimes plays fine, others I get the "Cannot play video" error but can immediately start playing it again. It seems it will display this error on the slightest hiccup, is there anyway to increse the tolerance so it can continue through instead of just dropping the 开发者_StackOverflow中文版download and popping up the error?


implement a OnErrorListener for your application and set viewview.setOnErrorListener(classhere); Then you can handle errors the way you want to.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜