support all variants of vnd.youtube url.
This commit is contained in:
parent
4cde97e65d
commit
f65c08431c
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ public class YoutubeStreamUrlIdHandler implements StreamUrlIdHandler {
|
||||||
}
|
}
|
||||||
else if(url.contains("vnd.youtube"))
|
else if(url.contains("vnd.youtube"))
|
||||||
{
|
{
|
||||||
id = Parser.matchGroup1("vnd.youtube\\:([\\-a-zA-Z0-9_]{11}).*", url);
|
id = Parser.matchGroup1("([\\-a-zA-Z0-9_]{11}).*", url);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
id = Parser.matchGroup1("[?&]v=([\\-a-zA-Z0-9_]{11})", url);
|
id = Parser.matchGroup1("[?&]v=([\\-a-zA-Z0-9_]{11})", url);
|
||||||
|
|
Loading…
Reference in a new issue