Podrias recuperalo desde el query string
Código PHP:
function IdVideo($id){
$s = $_SERVER['QUERY_STRING']
//Separar URL de consulta
$ServerQuery = explode("?",$s);
$Query = count($ServerQuery)>1 ? $ServerQuery[1] : "";
$Var = explode("&",$Query);
$Valores = array();
for($i=0;i<count($Var);i++){
$tmp = explode("=",Var[$i]);
$Valores[$tmp[0]] = $tmp[1];
}
//Hasta aqui se obtivieron y separaron todos los var=valor
return array_key_exist($id,$Valores)===false ? false : $Valores[$id]
}
$id = IdVideo("v");
//Regresaria falso si no existe la variable o si la consulta no tiene la forma
// servidor?var=valor&var1=valor2&...&varn=valorn
// puede tener 1 o mas variables