Update ytd and fix max size check
This commit is contained in:
parent
f8d59cca32
commit
5210a4d188
3 changed files with 4 additions and 4725 deletions
|
|
@ -65,6 +65,8 @@ function add_url($user, $url)
|
|||
if (
|
||||
preg_match("#^http://(www.)?youtube.com/watch\?v=([a-zA-Z0-9_-]+)#",
|
||||
$url, $matched)
|
||||
|| preg_match("#^http://(www.)?youtube.com/playlist\?list=([a-zA-Z0-9_-]+)#",
|
||||
$url, $matched)
|
||||
|| preg_match("#^http://youtu.be/([a-zA-Z0-9_-]+)#",
|
||||
$url, $matched)
|
||||
|| preg_match("#^http://(www.)?dailymotion.com/video/([a-zA-Z0-9_-]+)#",
|
||||
|
|
|
|||
Reference in a new issue