...

View Full Version : Streamcode doesn´t work!!



earni23
04-08-2010, 11:00 AM
Hi. My current version of VLC is 1.0.5 and I´m trying to stream the output of my webcam to a webpage, but my page-code doesn´t seem to work. The frame on the page only says "Video is waiting". I have seen different examples (som two years old) that says that I should use document.vlc.play() or document.vlc.playlist.play() but neither work. Can anybody plz give my a code, which is uptodate. Why doesn´t the following code work!



<embed type="application/x-vlc-plugin"
autoplay="yes"
target ="127.0.0.1:8080"
width="320"
height="160"
name="vlc">
</embed>
<br>
<a href ="javascript:;" onclick="document.vlc.play()">Play</a>
<a href ="javascript:;" onclick="document.vlc.stop()">Stop</a>

earni23
04-08-2010, 11:15 AM
I solved the problem!
Instead of target ="127.0.0.1:8080", it should be
target ="http://127.0.0.1:8080"

imnumberone
04-13-2010, 05:06 AM
Wow good for you then. Sometimes I also overlook some codes and I end up with codes that "aren't working" and then if I go over the codes again I get it right.
____________________________
Calgary Catering (http://www.avellinospanini.com) | choosehottubsdirect.com (http://www.quantcast.com/choosehottubsdirect.com)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum