当前位置: 动力学知识库 > 问答 > 编程问答 >

Android VideoView Error(1, -1005)

问题描述:

I tested my videoView on one device and it works fine but on the other device it gives a dialog - Cant Play the video with error in the logcat -

QCMediaPlayer mediaplayer NOT present

MediaPlayer: error (1, -1005)

My videoView code

final VideoView viz = (VideoView) dialog.findViewById(R.id.vidn);

Uri vidUri = Uri.parse(feedob);

viz.setVideoURI(vidUri);

viz.start();

I've learnt that this error means Connection lost but my internet connection is well and don't know why is this error ccoming up. Please help.

分享给朋友:
您可能感兴趣的文章:
随机阅读: