mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-10-22 10:57:38 +00:00
Made youtu.be links be vieweble through NewPipe, and fixed InfoBar design.
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user