0
我無法通過從應用程序調用URL直接播放管視頻。這是我的代碼無法在android中播放管視頻
play_Youtube.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
// TODO Auto-generated method stub
mc.setAnchorView(videoView);
mc.setMediaPlayer(videoView);
videoView.setMediaController(mc);
videoView.setKeepScreenOn(true);
videoView.setVideoPath("http://www.veoh.com/watch/v2000579385DSyC7f?h1=thailand-crown-prince-dog-birthday.mpeg");
videoView.start();
}
});
http://stackoverflow.com/questions/4880379/android-mediaplayer-throws-an-error-while-playing-a-youtube- video-with-video-vie使用此鏈接.. – 2011-12-21 12:33:20