
03-11-2010, 09:45 AM
|
|
|
Join Date: Aug 2009
Location: http://YAHO.ME
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by Digital Jedi
You can have one definition to parse both URLs, if you want. Just change this to the Regular Expression:
Code:
http://[\w]+\.youtube\.[\w]+/watch\??\#?v=([\w-]+)[\w&;=-]*[\#t=]*([\d]*)[&;10shdq=]*
|
Really i`m embarrassed from you man ... some members in my forum report that youtube links show with them like this:
http://www.youtube.com/watch#!v=Riauw5UTnW8
with this two symbol #!
so if you please dear Jedi merge this three methods for youtube embed in one definition ?
1 - http://www.youtube.com/watch?v=Riauw5UTnW8 ?
2 - http://www.youtube.com/watch#v=Riauw5UTnW8 #
3 - http://www.youtube.com/watch#!v=Riauw5UTnW8 #!
Thank you ... with my best wishes .
|