Title: adding javascript
Last modified: August 19, 2016

---

# adding javascript

 *  [omoriginals](https://wordpress.org/support/users/omoriginals/)
 * (@omoriginals)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/adding-javascript/)
 * Hello,
 * I want to add a javascript to my home page.
    I’ve enter it in visual and html,
   but wheh I say It only have the <noscript> part.
 * What is the trick to have javascript on a page?
    Thanks.
 * Here is my js.
 * <script type=”text/javascript” src=”[http://omoriginals.com/flash/swfobject.js”></script><script](http://omoriginals.com/flash/swfobject.js”></script><script)
   type=”text/javascript” src=”[http://omoriginals.com/flash/bz.js”></script><noscript><p](http://omoriginals.com/flash/bz.js”></script><noscript><p)
   style=”background-color:#ffffff;color:#000000;padding:1em;”>Your browser doesn’t
   support JavaScript or you have disabled JavaScript.</p></noscript><div id=”BZD12B187180F648C1BF00ED47A102A898″
   ></div>

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Thread Starter [omoriginals](https://wordpress.org/support/users/omoriginals/)
 * (@omoriginals)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/adding-javascript/#post-1231245)
 * to clarify. I want to add the flash movie to my home page (non blog page). I 
   don’t care If we use javascript I’d just like to have my flash displayed.
 * Thanks in advance.
    🙂
 *  [marswebcreations](https://wordpress.org/support/users/marswebcreations/)
 * (@marswebcreations)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/adding-javascript/#post-1231343)
 * Hey Oscar!
 * I’ve always used flvplayer when I want to embed flash videos on my site. Here’s
   a very good and detailed set of instructions on how to do this. [How To Put Flash Videos On Your Blog In Many Easy Steps](http://granades.com/2006/09/14/how-to-put-flash-videos-on-your-blog-in-many-easy-steps/).
 * The best thing about doing it this way is that you can brand the video with a
   pre-loaded image that sits atop the video so that even if you didn’t create the
   video it still looks like it’s yours.
 * If you still need help after this, let me know!
 *  Thread Starter [omoriginals](https://wordpress.org/support/users/omoriginals/)
 * (@omoriginals)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/adding-javascript/#post-1231355)
 * Mars,
    Thanks for the link. It says for wp you need to install a plug-in. [http://rmnl.net/wp-flv-video-player-plugin/](http://rmnl.net/wp-flv-video-player-plugin/)
 * But, that page says.
    This plugin does not work with the current version of the
   JW player any longer. This page is nothing more than an archive. ———- I don’t
   want a player (with navigation) I’d just like to let my flash do it’s thing.
 * Other ideas?
 *  [marswebcreations](https://wordpress.org/support/users/marswebcreations/)
 * (@marswebcreations)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/adding-javascript/#post-1231358)
 * If you want to email me a copy of what you are trying to put online I will see
   if I can get something working for you. (mike@marswebcreations.com)
 *  [marswebcreations](https://wordpress.org/support/users/marswebcreations/)
 * (@marswebcreations)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/adding-javascript/#post-1231366)
 * Hey Oscar,
 * I got the following code to work. You can see live at ([http://www.marswebcreations.com/test/omoriginals.html](http://www.marswebcreations.com/test/omoriginals.html))
 * <script type=”text/javascript” src=”[http://omoriginals.com/flash/swfobject.js”></script&gt](http://omoriginals.com/flash/swfobject.js”></script&gt);
   
   <script type=”text/javascript” src=”[http://omoriginals.com/flash/bz.js”></script&gt](http://omoriginals.com/flash/bz.js”></script&gt);
   <noscript><p style=”background-color:#ffffff;color:#000000;padding:1em;”>Your
   browser doesn’t support JavaScript or you have disabled JavaScript.</p></noscript
   > <div id=”BZD12B187180F648C1BF00ED47A102A898″></div>
 * If you were testing this on a local server you may be getting the “Your browser
   doesn’t support JavaScript or you have disabled” error because of security settings
   in Flash. So try uploading your test file and let me know how that works.
 * -Mike
 *  Thread Starter [omoriginals](https://wordpress.org/support/users/omoriginals/)
 * (@omoriginals)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/adding-javascript/#post-1231372)
 * mike,
    what plug-ins do you have that are allowing wp to display the script?
 *  [marswebcreations](https://wordpress.org/support/users/marswebcreations/)
 * (@marswebcreations)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/adding-javascript/#post-1231373)
 * I entered it into a new page in html mode and got it to come up fine. No plugins.
   It is a fresh install. Here’s the example page: [http://tutorialstuff.com/demo/?page_id=14](http://tutorialstuff.com/demo/?page_id=14)
 * Also, you said you want this on your home page right? Can you just paste in the
   code in the index.php file within the theme folder you are using for the website?
 *  [marswebcreations](https://wordpress.org/support/users/marswebcreations/)
 * (@marswebcreations)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/adding-javascript/#post-1231388)
 * Were you able to get it to work?

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘adding javascript’ is closed to new replies.

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 2 participants
 * Last reply from: [marswebcreations](https://wordpress.org/support/users/marswebcreations/)
 * Last activity: [16 years, 8 months ago](https://wordpress.org/support/topic/adding-javascript/#post-1231388)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
