BetterVideoPlayer icon indicating copy to clipboard operation
BetterVideoPlayer copied to clipboard

setCaption(Uri source, SubMime subMime) not working

Open bahmanworld opened this issue 5 years ago • 0 comments

I'm trying to make online player with subtitles using BetterVideoPlayer. when i add setCaption(Uri, SubMime), app will close . by using setCaption(int, SubMime) there is no problem.

player = findViewById(R.id.best_player); player.setCaptions(Uri.parse("https://hollywood.com/subtitle.srt"), CaptionsView.SubMime.SUBRIP); player.setSource(Uri.parse("https://hollywood.com/movie.mkv"));
player.start();

Any solutions?

bahmanworld avatar May 04 '19 03:05 bahmanworld