Quote:
Originally Posted by Saint_I_Am
Thanks, looking forward to it
|
Edit includes/local_links_flashsites.php, find the lines:
PHP Code:
"YouTube" => array(
"pattern" => "#http://(www.youtube|youtube)\.com/watch\?v=([\w-]+)#i",
"urlreplace" => "http://www.youtube.com/v/$2",
and replace by
PHP Code:
"YouTube" => array(
"pattern" => "#http://([a-z]+.youtube|youtube)\.com/watch\?v=([\w-]+)#i",
"urlreplace" => "http://$1.com/v/$2",
This will work with any alphabetical alternative to
www.youtube
Please note that a number of the video sites originally coded in that 'extra' may not work any longer - I don't have time to keep checking them an dthe sites do tend to change the formats of their urls.