kopia lustrzana https://github.com/TeamNewPipe/NewPipe
Made youtu.be links be vieweble through NewPipe, and fixed InfoBar design.
rodzic
7a45e3d0c5
commit
e38f90757a
|
@ -39,10 +39,7 @@ public class YoutubeService implements StreamingService {
|
|||
}
|
||||
@Override
|
||||
public boolean acceptUrl(String videoUrl) {
|
||||
if(videoUrl.contains("youtube")) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
return videoUrl.contains("youtube") ||
|
||||
videoUrl.contains("youtu.be");
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue