VLC 1.0.5 Can't Play Playlist

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
RamyRew
New Cone
New Cone
Posts: 4
Joined: 03 Oct 2010 20:39

VLC 1.0.5 Can't Play Playlist

Postby RamyRew » 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.



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

Ilasir
Cone that earned his stripes
Cone that earned his stripes
Posts: 139
Joined: 14 Apr 2010 18:57

Re: VLC 1.0.5 Can't Play Playlist

Postby Ilasir » 04 Oct 2010 16:04

Don't use the "embed" tag.

RamyRew
New Cone
New Cone
Posts: 4
Joined: 03 Oct 2010 20:39

Re: VLC 1.0.5 Can't Play Playlist

Postby RamyRew » 07 Oct 2010 08:10

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.

Ilasir
Cone that earned his stripes
Cone that earned his stripes
Posts: 139
Joined: 14 Apr 2010 18:57

Re: VLC 1.0.5 Can't Play Playlist

Postby Ilasir » 08 Oct 2010 01:20

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?


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 5 guests