Web interface works, but stops when playlist changes video..

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
siafulinux
New Cone
New Cone
Posts: 1
Joined: 05 Feb 2012 21:44

Web interface works, but stops when playlist changes video..

Postby siafulinux » 05 Feb 2012 21:57

Hi guys

First time I'm posting in here, so bare with me please.

I have set up a "channel" using VLC that streams to multiple computers with videos media. The "channel" is just a playlist on the server side and the client points to it (duh). It works well, but I actually want it to work through a web browser instead.

With the web browser, I was able to get it to work using jwplayer, flowplayer and the VLC Mozilla plugin, but... whenever the playlist changes from one video to anotehr, the video at the client side (flash player, etc) stops and I have to either refresh or hit play again. This only happens using the web browser, not VLC client.

I would like to get it to play without stopping as it is through the regular VLC player and server. Hope that makes sense? :-)

VLC Server Channel 1 - Works with VLC (Server) to VLC (Client):
vlc -I http --http-host localhost:8080 -vvv "J:\VLC Playlists\Media.xspf" --sout="#transcode{scale=1,deinterlace}:http{mux=ts,dst=:8080/} --no-sout-rtp-sap --sout-all --sout-keep"
VLC Server Channel 1 - Works with VLC (Server) to Flash (Client):
vlc -vvv "J:\VLC Playlists\Media.xspf" --sout="#transcode{vcodec=h264,vb=200,deinterlace,ab=32,fps=25,width=256,height=192,acodec=mp3,samplerate=44100}:duplicate{dst=std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=/media.flv},dst=0.0.0.0:8080/}"
JWPlayer Code (Flash) - Works but stops after change in media lineup from server:
<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='640' height='480' id='player1' name='player1'>
<param name='movie' value='player.swf'>
<param name='allowfullscreen' value='true'>
<param name='allowscriptaccess' value='always'>
<param name='flashvars' value='buffertime=3&file=http://10.0.0.4:8080/media.flv&autostart=true'>
<embed id='player1'
name='player1'
src='player.swf'
width='640'
height='480'
allowscriptaccess='always'
allowfullscreen='true'
flashvars="buffertime=3&file=http://10.0.0.4:8080/media.flv&autostart=true"
/>
</object>
VLC Firefox Plugin - Works but stops after change in media lineup from server. The control, such as "Fullscreen" don't work either:
<embed type="application/x-vlc-plugin"
name="media"
autoplay="yes" width="640" height="480"
target="http://10.0.0.4:8080" />
<br />
<a href="javascript:;" onclick='document.media.play()'>Play</a>
<a href="javascript:;" onclick='document.media.pause()'>Pause</a>
<a href="javascript:;" onclick='document.media.stop()'>Stop</a>
<a href="javascript:;" onclick='document.media.fullscreen()'>Fullscreen</a>
Anyway, hope someone can help me with this. Thanks!

active_200m
New Cone
New Cone
Posts: 3
Joined: 21 Feb 2012 15:43

Re: Web interface works, but stops when playlist changes vid

Postby active_200m » 21 Feb 2012 19:41

hello siafulinux ,
i have the same problem as you in firefox!

by writing loop="yes" this problem must solve but it doesn't solve!!!

for example your code with loop:

<embed type="application/x-vlc-plugin"
name="media"
autoplay="yes" width="640" height="480" loop="yes"
target="http://10.0.0.4:8080" />
<br />
<a href="javascript:;" onclick='document.media.play()'>Play</a>
<a href="javascript:;" onclick='document.media.pause()'>Pause</a>
<a href="javascript:;" onclick='document.media.stop()'>Stop</a>
<a href="javascript:;" onclick='document.media.fullscreen()'>Fullscreen</a>


test it but for me doesn't work.

if you will get any news tell me too please.

thanks.

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: Web interface works, but stops when playlist changes vid

Postby RSATom » 22 Feb 2012 09:28

"loop" property not working in VLC Web Plugins very long time...

active_200m
New Cone
New Cone
Posts: 3
Joined: 21 Feb 2012 15:43

Re: Web interface works, but stops when playlist changes vid

Postby active_200m » 23 Feb 2012 09:50

pity,
do you know how to solve this problem?
if anybody know please help us too. thanks.

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: Web interface works, but stops when playlist changes vid

Postby RSATom » 28 Mar 2012 05:51

code.google.com/p/vc-axnp-vlc/downloads/detail?name=axvlc_post2.0.0.v2.x86.vc2008.zip


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 10 guests