cobra11 Posted October 20, 2008 Share Posted October 20, 2008 Hi i have my home page with a jpeg file on panel_top.php the original code is : <?php /* $Id: languages.php,v 1.15 2003/06/09 22:10:48 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ ?> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td align="center" style="padding-top:4px; padding-bottom:10px;"><?php echo tep_image(DIR_WS_IMAGES.'test.swf')?></a></td> </tr> </table> i would like to change the image and put a flash movie, so itried with this code but nothing happens it doesn't show anything, someone can help me with that? <?php /* $Id: languages.php,v 1.15 2003/06/09 22:10:48 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ ?> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td align="center" style="padding-top:4px; padding-bottom:10px;"><?php echo "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/ flash/swflash.cab#version=6,0,29,0\" width=\"350\" height=\"100\"> " ."<param name=\"movie\" value=\"http://www.mysite.net/movie/test.swf\"> " ."<param name=quality value=high> " ."<embed src=\"yourMovie.swf\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/ index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"350\" height=\"100\"></embed>" ."</object>";?></a></td> </tr> </table> what's wrong? thanks Link to comment Share on other sites More sharing options...
Guest Posted October 20, 2008 Share Posted October 20, 2008 what's wrong? Besides everything not much. Why are you trying to echo that out with php? Try <table cellpadding="0" cellspacing="0" border="0"> <tr> <td align="center" style="padding-top:4px; padding-bottom:10px;"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/ flash/swflash.cab#version=6,0,29,0" width="350" height="100" align="middle"> <param name="movie" value="http://www.mysite.net/movie/test.swf"> <param name="quality" value="high"> <embed src="http://www.mysite.net/movie/test.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/ index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="350" height="100" align="middle"></embed> </object> </td> </tr> </table> Link to comment Share on other sites More sharing options...
cobra11 Posted October 20, 2008 Author Share Posted October 20, 2008 thank you very much it works!!!! :) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.