android-youtubeExtractor icon indicating copy to clipboard operation
android-youtubeExtractor copied to clipboard

SparseArray<YtFile> ytFiles returns null

Open Shantanu-tec opened this issue 4 years ago • 1 comments

if (ytFiles != null) { int itag = 18; String downloadUrl = ytFiles.get(itag).getUrl(); Uri url = Uri.parse(downloadUrl); playVideo(url); Log.d("shantanu",downloadUrl); }else{ Log.d("shantanu", String.valueOf(ytFiles)); }

Shantanu-tec avatar Mar 08 '21 12:03 Shantanu-tec

Yes dude, ytFiles is always null. Any remedy for this ?

rajBopche avatar Mar 10 '21 10:03 rajBopche