2016-05-26 2 views
0

私はJiecao Video Playerを使ってストリーミングビデオを再生しています。私もsdcardビデオを再生する必要があります。私はこれをする方法を知らない。もし誰かが私を助けてくれれば、もっと役に立つだろう。前もって感謝します。私は次のコードを使用しました。私はわからないんだけど、リンクJiecao Video Playerを使ってSDカードのビデオを再生しますか?

https://github.com/lipangit/jiecaovideoplayer

JCVideoPlayerFullscreen jcVideoPlayerStandardShowTitleAfterFullscreen = (JCVideoPlayerFullscreen) findViewById(R.id.videoSurface); 
     jcVideoPlayerStandardShowTitleAfterFullscreen.setUp("http://video.jiecao.fm/5/1/%E8%87%AA%E5%8F%96%E5%85%B6%E8%BE%B1.mp4" 
       , "嫂子摸完没"); 

答えて

1

を参照していますが、このいずれかを使用することができます。

int video_column_index = videoCursor.getColumnIndexOrThrow(MediaStore.MediaColumns.DATA); 
      videoCursor.moveToPosition(position); 
      String videoUri = videoCursor.getString(video_column_index); 
JCVideoPlayerFullscreen jcVideoPlayerStandardShowTitleAfterFullscreen = (JCVideoPlayerFullscreen) findViewById(R.id.videoSurface); 
     jcVideoPlayerStandardShowTitleAfterFullscreen.setUp(videoUri 
       , fileName); 
+0

このライブラリを使用して自動起動する方法 –

関連する問題