Have you made sure that you are using absolute urls?
Hi Esmi,
thank you for your response. Yes, I’ve tried both relative and absolute urls, but it seems to make no difference?
Does it matter that I am running the site locally on localhost?
I put this in my header php file:
<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/swfobject.js"></script>
<script type="text/javascript">
swfobject.registerObject("menu_container", "8");
</script>
And this in the main page:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="menu_container" width="770" height="380">
<param name="movie" value="<?php bloginfo('stylesheet_directory'); ?>/flash/new.swf">
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="<?php bloginfo('stylesheet_directory'); ?>/flash/new.swf" width="770" height="380">
<!--<![endif]-->
<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>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
Please, I’d really appreciate any input!
Try replacing <?php bloginfo('stylesheet_directory'); ?> with <?php bloginfo('template_directory'); ?>.
http://kimili.com/plugins/kml_flashembed/wp
I’d like to use KFE to put a Flash header in my WordPress site. How do I do it?
You can put a kml_flashembed tag anywhere on your site, but it requires some familiarity with editing PHP and HTML files. With the Tag Generator, the plugin is set up to insert tags in posts very easily, but you can manually insert a tag in any of your theme files as well. Simply navigate to Appearance → Editor, select one of your current Theme’s PHP files, and insert a KFE tag among the HTML and PHP where you want your SWF to appear.
source
http://kimili.com/plugins/kml_flashembed/#faqs
Hi esmi and samboll, thank you for your input.
esmi, I tried replacing the code, as suggested, but it makes no difference.
samboll, I had installed the Kimili plugin… but I’m struggling with it. Do I insert the generated tags? i.e., the square ones:
[kml_flashembed movie="/my/great/movie.swf" width="400" height="300"]
with these [] tags, the code itself appears in the page. If I replace them with these <> tags, the Download Flash icon (alternative content) appears. I tried inserting the flash into the post, for testing, but again, the writing inside the square tags is all that appears.
Going back to just normal html embedding, nothing shows, but if I right-click over the area, it gives me the Flash menu – so the Flash is there?
This is driving me insane :'( …It can’t be this difficult!!
Thanks for your help… if you have any other tips, please let me know. If I find any solutions, I’ll be sure to post them here.