Código PHP:
<?
include('config/db_con.php');
mysql_connect("$host", "$username", "$password")or die("cannot connect");
mysql_select_db("$db_name")or die("cannot select DB");
$query = mysql_query('SELECT youtube FROM like ORDER BY RAND() LIMIT 1');
$resultado = mysql_fetch_array($query);
$youtubelink = $resultado['youtube'];
echo '<object width="350" height="287">
<param name="movie" value="'.$youtubelink.'&hl=es_MX&fs=1"></param>
<param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param>
<embed src="'.$youtubelink.'&hl=es_MX&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="350" height="287"></embed></object>';
?>