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
The topic ‘javascript tag disappears (flv embed not working)’ is closed to new replies.