VLC 1.0.5 Can't Play Playlist
Posted: 03 Oct 2010 20:54
At the first time , The Following code work fine with VLC 0.86 But when I upgrade VLC to 10.0.5 this code doesn't work. I don't know why?.
Could Anyone tell me what is the problem?.
Thank in advance.
Could Anyone tell me what is the problem?.
Thank in advance.
Code: Select all
$playlist = "";
$ip = $_SERVER['SERVER_ADDR'];
if ( isset( $_POST ) )
{
$postArray = $_POST ;
}
else
{
$postArray = $HTTP_POST_VARS ;
}
foreach ( $postArray as $sForm => $value )
{
$playlist .= "http://localhost:8080/dmc/".$value."\n";
}
echo $playlist;
$fp = fopen("playlist.m3u","wb");
fwrite($fp,$playlist);
fclose($fp);
echo "<div id=\"videoFrame\">";
echo "<table id=\"videoTable\">";
echo "<tr>";
echo "<td>";
echo "<embed type=\"application/x-vlc-plugin\" name=\"video1\" id=\"video1\" autoplay=\"yes\" loop=\"yes\" width=\"1\" height=\"1\" target=\"playlist.m3u\" />";
echo "</td>";
echo "</tr>";
echo "</table>";
echo "</div>";
?>