0

我的意思是我想在 webview 或 videoview 中播放这个网址:http://212.175.206.240:80/saat_kulesi?MSWMExt=.asf。但我不玩这个网址。我试试这个:

   VideoView videoView = (VideoView)findViewById(R.id.videoView1);
        MediaController mediaController = new MediaController(this);
        mediaController.setAnchorView(videoView);
        videoView.setMediaController(mediaController);

        videoView.setVideoPath("http://212.175.206.240:80/saat_kulesi?MSWMExt=.asf");

        videoView.start(); 

我也试试这个:

 WebView wv2 = (WebView)findViewById(R.id.webView1);
        wv2.getSettings().setJavaScriptEnabled(true);
        wv2.loadUrl("http://212.175.206.240:80/saat_kulesi?MSWMExt=.asf");

 But two of my method but dont work. How can succeed it ?
4

0 回答 0