开发者

Accessing video from server on Android

We are trying to move some of our media files from our application to a server, but we can't seem to figure it out. I created a video, embedded it in my app, and it played fine. So I sent that same video file to someone to put on the server. I then went to my browser and typed in "http://www.server.com/Android-app/testVideo.mp4" and I get an error saying "Sorry, this video is not valid for streaming to this device." I am using a Samsung Moment. So I was thinking it was something wrong with the serv开发者_JAVA百科er. But the video does work on someone's Droid, so that makes it sound like a phone compatibility issue. But it is the exact same file that worked on the phone earlier.

Is there a setting (on phone or server) that needs to be changed? I just can't make since of it. Thanks for any help.


You haven't really given enough details to give a definitive answer, but the first thing I'd do would be to check the Content-Type in the response header.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜