Skip to content
This repository has been archived by the owner on Jul 20, 2021. It is now read-only.

setCaption(Uri source, SubMime subMime) not working #92

Open
bahmanworld opened this issue May 4, 2019 · 0 comments
Open

setCaption(Uri source, SubMime subMime) not working #92

bahmanworld opened this issue May 4, 2019 · 0 comments

Comments

@bahmanworld
Copy link

bahmanworld commented May 4, 2019

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 bahmanworld changed the title setCaption(Uri source, SubMime subMime); not working setCaption(Uri source, SubMime subMime) not working May 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant