private function find_video($html)
{
$file = false;
if (preg_match("/file: '([^']+)'/", $html, $matches)) {
$file = rawurldecode($matches[1]);
} else {
if (preg_match("@srv=&file=([^&]+)@s", $html, $matches)) {
$file = rawurldecode($matches[1]);
}
}
return $file;
}