Title: javascript tag disappears (flv embed not working)
Last modified: August 19, 2016

---

# javascript tag disappears (flv embed not working)

 *  803609
 * [17 years, 9 months ago](https://wordpress.org/support/topic/javascript-tag-disappears-flv-embed-not-working/)
 * Hej hej
 * I have a problem with flash video plugins, I used two different once, and everytime
   shows wordpress the javascript on the page, because the
    `<script type="text/
   javascript">` and the end tag `</script>` is taken away. So the source code looks
   like:
 *     ```
       Get the latest Flash Player to see this player.<br />
       [Javascript required to view Flash movie, please turn it on and refresh this page]</p>
       <p>	document.getElementById(”player1″).style.display = “”;</p>
       <p>	var s1 = new SWFObject(”http://www.buntstift.at/portfolio/wp-content/plugins/flv-embed/flvplayer.swf”,”player1″,”360″,”308″,”7″);<br />
       	s1.addParam(”allowfullscreen”,”true”);<br />
       s1.addVariable(”height”,”308″);<br />
       s1.addVariable(”width”,”360″);<br />
       s1.addVariable(”file”,”http://www.buntstift.at/portfolio/videos/motion23.flv”);<br />
       s1.addVariable(”image”,”http://www.buntstift.at/portfolio/videos/motion23.png”);<br />
       s1.addVariable(”fsbuttonlink”,”http://www.buntstift.at/portfolio/wp-content/plugins/flv-embed/fullscreen.php?f=http://www.buntstift.at/portfolio/videos/motion23.flv%26r=http://www.buntstift.at/portfolio/?p=15″);<br />
       s1.write(”player1″);</p>
       ```
   
 * The wp_head(); is in my template, and I upgradet from 2.5 to the latest version
   2.6. Even so I tried different versions of the flv embed (1.0, 1.1 and 1.2).
 * The files and the paths are ok, only it seems that wordpress takes away the javascript
   start and end tag, so that the javascript code becomes normal content.
 * Does anybody else has this problem too ?
 * Thanks, tnobs

Viewing 1 replies (of 1 total)

 *  Thread Starter 803609
 * [17 years, 9 months ago](https://wordpress.org/support/topic/javascript-tag-disappears-flv-embed-not-working/#post-825631)
 * Wow… that was giving me a hard time, after I found out that the flv embed is 
   working with the default theme, I compared everything, because I’m coding my 
   own theme.
 * The “solution”:
    It was working all the time, put only if you click on the **
   post**. On the **startpage**, when you see the 10 newest posts, the **flv embed
   is not working**.
 * Does somebody know why?
 * tnobs

Viewing 1 replies (of 1 total)

The topic ‘javascript tag disappears (flv embed not working)’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: 803609
 * Last activity: [17 years, 9 months ago](https://wordpress.org/support/topic/javascript-tag-disappears-flv-embed-not-working/#post-825631)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
