Posts: 23
Location: Arganda, Madrid, Spain
|
Hello
I have this code in the header file of a wordpress theme.
....
<?php wp_head(); ?>
<script type="text/javascript" src="../../plugins/kimili-flash-embed/js/swfobject.js"></script>
<script type="text/javascript">
var flashvars = false;
var params = {};
params.quality = "high";
var attributes = false;
swfobject.embedSWF(<?php echo "logoX.swf";?>, "logoX", "272", "321", "8.0.0",false,flashvars,params,attributes);
</script>
I have placed the swf file in the same folder as the php files of the wordpress theme.
....
</head>
<body <?php body_class(); ?>>
<div id="horizBody"></div>
<div id="logoX">
<a href="http://www.adobe.com/go/getflashplayer">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
<?php echo "<br />";?> Description
</div>
<div id="page">
....
Do you know why doesn't this code show the flash file?
Thanks
|