使用捷草影音播放器播放sd卡视频?
Play sd card videos using Jiecao Video Player?
我正在使用 Jiecao Video Player
播放流媒体视频。我还必须播放 sdcard
个视频。我不知道该怎么做。如果有人帮助我,它会更有用。提前致谢。我使用了以下代码。参考 link
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"
, "嫂子摸完没");
我不确定,但你可以使用这个。
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);
我正在使用 Jiecao Video Player
播放流媒体视频。我还必须播放 sdcard
个视频。我不知道该怎么做。如果有人帮助我,它会更有用。提前致谢。我使用了以下代码。参考 link
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"
, "嫂子摸完没");
我不确定,但你可以使用这个。
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);