Android - Playing Mp4

Posted by Chris on Stack Overflow See other posts from Stack Overflow or by Chris
Published on 2010-05-26T05:34:06Z Indexed on 2010/05/26 5:41 UTC
Read the original article Hit count: 410

Filed under:
|
|

I am trying to play video files from http urls in my app. Why is that my app plays only certain mp4 files (I tried 512k mp4 and it worked), and doesn't play some others?

Here's the snippet of my code:

    mVideoView.setVideoPath(myVideoURL);
    mVideoView.setMediaController(new MediaController(this));
    mVideoView.seekTo(currentPosition);
    mVideoView.requestFocus(); 

Thanks Chris

© Stack Overflow or respective owner

Related posts about android

Related posts about mp4