Made youtu.be links be vieweble through NewPipe, and fixed InfoBar design.
This commit is contained in:
parent
7a45e3d0c5
commit
e38f90757a
1 changed files with 2 additions and 5 deletions
|
@ -39,10 +39,7 @@ public class YoutubeService implements StreamingService {
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
public boolean acceptUrl(String videoUrl) {
|
public boolean acceptUrl(String videoUrl) {
|
||||||
if(videoUrl.contains("youtube")) {
|
return videoUrl.contains("youtube") ||
|
||||||
return true;
|
videoUrl.contains("youtu.be");
|
||||||
} else {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue