video embed code doesn’t work for blog, only html pages
-
Why is it that my video code will work in a htm page, but not in a blog post? The htm page shows the player fine, but the player doesn’t even show in the blog post. WordPress sucks for this.
code is below:<script type=”text/javascript”
src=”http://www.jeroenwijering.com/embed/swfobject.js”></script><div id=”player”>This text will be replaced</div> <script type=”text/javascript”>
var so = new SWFObject
(‘http://www.towardpraxis.com/blog/mediaplayer.swf’,’mpl’,’500′,’200′,’8′);
so.addParam(‘allowscriptaccess’,’always’);
so.addParam(‘allowfullscreen’,’true’);
so.addVariable(‘height’,’200′);
so.addVariable(‘width’,’500′);
so.addVariable(‘file’,’http://www.towardpraxis.com/blog/playlist.xml’);
so.addVariable(‘backcolor’,’0x000033′);
so.addVariable(‘frontcolor’,’0x6666FF’);
so.addVariable(‘lightcolor’,’0xFFFFFF’);
so.addVariable(‘screencolor’,’0x6666FF’);
so.addVariable(‘displaywidth’,’200′);
so.addVariable(‘searchbar’,’false’);so.write(‘player’);
</script>
- The topic ‘video embed code doesn’t work for blog, only html pages’ is closed to new replies.