Page 1 of 1

VLC 1.0.5 Can't Play Playlist

Posted: 03 Oct 2010 20:54
by RamyRew
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.



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>"; ?>

Re: VLC 1.0.5 Can't Play Playlist

Posted: 04 Oct 2010 16:04
by Ilasir
Don't use the "embed" tag.

Re: VLC 1.0.5 Can't Play Playlist

Posted: 07 Oct 2010 08:10
by RamyRew
Don't use the "embed" tag.
If I don't use the "embed" tag. How can i put the plugin into the "PHP Page".
sorry. I'm newbie in programming.

Re: VLC 1.0.5 Can't Play Playlist

Posted: 08 Oct 2010 01:20
by Ilasir
I'd suggest always using the object tag with vlc. It's simpler and I've never had it not work. I've had plenty of problems with the embed tag.


Also, is there a reason you're using the mu3 playlist instead of vlc's object?