[問題] 使用vedioview 播放youtube影片
VideoView vv = (VideoView) findViewById(R.id.videoView1);
MediaController mc=new MediaController(this);
mc.setEnabled(true);
mc.show(0);
vv.setMediaController(mc);
vv.setVideoURI(Uri.parse("http://youtu.be/lZ78JpU2wms"));
vv.requestFocus();
vv.showContextMenu();
vv.start();
run的時候會出現無法撥放影片,那是什麼原因
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 1.162.21.194
→
11/08 11:48, , 1F
11/08 11:48, 1F
→
11/08 12:01, , 2F
11/08 12:01, 2F
→
11/08 14:26, , 3F
11/08 14:26, 3F