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

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

@bahmanworld

Description

@bahmanworld

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions