Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   How to embed flash into the header? (http://forum.bytesforall.com/showthread.php?t=14118)

barros1389 May 11, 2011 09:57 AM

How to embed flash into the header?
 
hi-

In 3.4 I have a hack to add %flash into the header. In 3.6.4 it doesn't seem to work. Is there a way to add flash to my header.

barros1389 May 19, 2011 05:21 PM

hi-

I guess no one can help... it would be awesome if someone could help me add flash to my header. I'm using 3.6.4. Back in 3.4.4 I found a good way of doing at http://www.mydeviceip.com/2009/08/ad...ahualpa-theme/. This doesn't seem to work in 3.6.

barros1389 May 19, 2011 06:09 PM

I think I figured it out. I added the following code before the end of bfa-header_config.php

echo'<embed type="application/x-shockwave-flash" src="wp-content/themes/atahualpa/images/header/header.swf" width="1000" height="200" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>';

<--- Add the embed code before these lines at the end of bfa-header_config.php -->

$header_items = trim($header_items);
$final_header = str_replace($header_item_numbers, $header_output, $header_items);

studioelle Aug 30, 2011 03:31 PM

I was just working on this problem. I had a swf in my header.php file. It would play perfectly on the homepage, but disappear on the sub pages. If anybody else comes across this issue, here is how to fix it.

Create a custom widget area for the place you want the flash to show up (paste the code following the instructions in Atahualpa > Add New WIDGET AREAS). Next, install the JJ-SWFObject plugin (http://wordpress.org/extend/plugins/jj-swfobject/). Put that widget in your new widget area, enter the parameters and voila! You're done.

Dennis Sep 15, 2011 07:57 AM

Yes- at first this looked like this was working out for me!

unfortunately the "JJ SwfObject widget" (that you put in your newly created Header widget area - inside Style & edit Header Area - like mentioned above) is linked to the Style Widgets>Widget List Items!

This means that all margin parameters has to be put set to 0 - unless you want your Flash top banner to be pushed to the left! :0(

This is a huge problem for me since I have a submenu in the right side using those margins to make it look awesome!

Any clues how to fix this issues ...?

Thanks in advance....

Dennis


All times are GMT -6. The time now is 04:12 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.