potresti usare quanto segue:

Codice PHP:
$filePath "http://www.youtube.com/v/******************"
 
if (
file_exists($filePath)) { 
    
//visualizza anteprima 
} else { 
    echo 
"Il video $filePath non c'è più"