Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

file from internet #3

Open
ghost opened this issue Mar 25, 2018 · 1 comment
Open

file from internet #3

ghost opened this issue Mar 25, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 25, 2018

what sholuld i pass in "srt = formatSRT.parseFile("sample.srt", stream);" for downloaded file from internet
please give me one simple example
thank you

@M4NN3
Copy link

M4NN3 commented Feb 7, 2019

Url url = new Url ("https://dozeu380nojz8.cloudfront.net/uploads/video/subtitle_file/3533/srt_919a069ace_boss.srt");
srt = formatSRT.parseFile("sample.srt", url.openStream());

Hope it helps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant