Fork me on GitHub

Live webcam app?  Bottom

  • Does anyone know of a live webcam app that will work with the latest PN?
    Many thanks!
  • I dont think that there is specific webcam software for postnuke but if you let me know what software you intend to use i will create you a block/module that will display your live cam.
  • Hi Evesham,

    I too am interested in a webcam block, but I want to use it for a community website.

    The idea is that several security cameras be placed around the suburb and these all feed via adsl to the postnuke website.

    These cameras can also be used for checking the traffic before you leave home. Later on we plan to log into the site via mobile phone and view the traffic on your mobile on your way home.

    Thanks,

    André
  • ok a simple block can look like this http://evesham.no-ip…-old/html/index.php ( block is at top left)bear in mind that the images are live and it may slow down page loading (you can use jpg's or gifs instead to speed things up) a little java script to open in a new window and it all works if this is of any use or you would like me to modify a little more just let me know.
    the block currently is setup for use with webcamxp but will modify easily for most other webcam software.
  • Hi Evesham,

    How do you render the live cam in the left block? Is it a block of type HTML and what code do you put in it?

    I created a new block of type HTML, added a picture link http://localhost:8080/cam_1.jpg...this then gave me the last view from the cam.
  • avdalen

    Hi Evesham,

    How do you render the live cam in the left block? Is it a block of type HTML and what code do you put in it?

    I created a new block of type HTML, added a picture link http://localhost:8080/cam_1.jpg...this then gave me the last view from the cam.
    The block I created is a new CORE/Html block containing the following code, It is designed for use with webcamXP and therefore will only work in conjunction with that software (It is easy to modify for use with other webcam software such as webcam32 or webcam2000 etc.)
    If you have webcamxp you will need to edit these two sections to reflect your own paths.
    FULL PATH TO YOU CAM PAGE
    FULL PATH TO YOU CAM IMAGE INCLUDING :PORT

    Code

    <html>
    <head>
            <script language="JavaScript">
    <!-- Begin
    function blockError(){return true;}
    window.onerror = blockError;
    //  End -->
    </script>
           <SCRIPT>
    <!-- Hide the script from older browsers
    function popIt1() {
        openWin = window.open("FULL HTTP PATH TO YOUR CAM PAGE","myWindow","top=0,left=0,width=400,height=350,titlebar=no,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,fullscreen=no");
        // the following line sets the focus to the open window, i.e. brings it to the front
        openWin.focus();
    }
    function closeIt() {
        openWin.close();
    }
    // Stop hiding from older browsers -->
    </script>
    <body>
    <table width="100%" border="0">
      <tr>
        <td><P><CENTER><a href="javascript:popIt1()"><img src="FULL PATH TO YOU CAM IMAGE INCLUDING :PORT/cam_1.jpg" "align="middle"  height="35" width="40"  border="0">
                                           </a>cam1</CENTER></td>
         </tr>
    </table>
    </body>
    </html>
  • That looks quite useful Evesham, anychance you could email the module to me?

    --
    www.longfords.com
  • 0 users

This list is based on users active over the last 60 minutes.