Title: Webcam18 javascript in WordPress new page help needed
Last modified: August 18, 2016

---

# Webcam18 javascript in WordPress new page help needed

 *  [holoduke](https://wordpress.org/support/users/holoduke/)
 * (@holoduke)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/webcam18-javascript-in-wordpress-new-page-help-needed/)
 * Hi,
    I have read and tried the suggestions in [http://codex.wordpress.org/Using_Javascript](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](http://cowboyscripts.org/?page=webcam)
 * Thanks,
    Jim

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [holoduke](https://wordpress.org/support/users/holoduke/)
 * Last activity: [18 years, 8 months ago](https://wordpress.org/support/topic/webcam18-javascript-in-wordpress-new-page-help-needed/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
