| Adding Flash Headers to Wordpress Themes |
|
|
|
| Written by Administrator |
| Wednesday, 12 August 2009 09:55 |
|
Of course it is! Anything is possible, the question is, how do you do it?
Its quite simple really, below are some basic instructions you can follow to achieve the result:
Locate the following line in the index.php file
<div class="Header">
Just after it, place the following code :
--------------------------------------------------------------------- <object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,124,0" width="984" height="278"> <param name="movie" value="<?php echo $mosConfig_live_site;?>"http://yourdomain.com/fullpath/Untitled-1.swf"/><param name="quality" value="high" /><embed src="/<?php echo $mosConfig_live_site;?>"http://yourdomain.com/fullpath/Untitled-1.swf"" quality="high" pluginspage="http://get.adobe.com/flashplayer/" type="application/x-shockwave-flash" width="984" height="278"></embed></object> ----------------------------------------------------------------------
Replace "http://yourdomain.com/fullpath/Untitled-1.swf" with your .swf file's full path location.
You can also adjust the width and hight to suit your .swf file accordingly. |
| Last Updated on Wednesday, 19 August 2009 11:16 |




