• Hi,
    I have read and tried the suggestions in http://codex.wordpress.org/Using_Javascript and have not been able to get this script working. I need to use this script in a new page on WordPress. I have tried adding the following to the header.php between the meta and style tags:
    <script type="text/javascript" src="/wp-includes/js/webcam.js"></script>

    I then added the following to the new page code:
    <script type="text/javascript"> <!-- webCamDraw(0); //--></script>

    The author said to modify the body tag as follows:
    <body onload="webCamInit();">

    The image nver even loads. The script works fine outside of WordPress. Please help. I have wasted a couple of weeks trying to get this working. The link to the authors page is
    http://cowboyscripts.org/?page=webcam

    Thanks,
    Jim

The topic ‘Webcam18 javascript in WordPress new page help needed’ is closed to new replies.