Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Feb 2010
    Posts
    95
    Thanks
    14
    Thanked 0 Times in 0 Posts

    Streamcode doesn“t work!!

    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!

    Code:
    <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>

  • #2
    New Coder
    Join Date
    Feb 2010
    Posts
    95
    Thanks
    14
    Thanked 0 Times in 0 Posts
    I solved the problem!
    Instead of target ="127.0.0.1:8080", it should be
    target ="http://127.0.0.1:8080"

  • #3
    New to the CF scene
    Join Date
    Apr 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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 | choosehottubsdirect.com


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •