For Nuevoplayer owners it might be important to update youtube function which extracts youtube URL.
The function is located inside file 'nvconfig.php' or 'nvfunction.php'.
Directory can be different: in CLipshare: nuevo,nvp,nvlab. For AVS: 'nuevo' or 'media/nuevo'
Updated function looks like that:
- Code: Select all
function get_youtube($embed) {
$yt = '';
if(strlen($embed)>0)
{
$pos = strpos($embed,"youtube.com/embed/");
if($pos>0) {
$key = substr($embed,$pos+18,11);
return "http://www.youtube.com/watch?v=".$key;
}
$pos = strpos($embed,"youtube.com");
if($pos)
{
preg_match('/youtube\.com\/v\/([\w\-]+)/', $embed, $match);
return "http://www.youtube.com/watch?v=".$match[1];
}
}
return $yt;
}
Of course the file with mentioned function is updated in download section for registered users.
Good luck.