Jump to content

Problème d'intégration de flash via swfobject.embedSWF()


Recommended Posts

Bonjour à tous,

J'intègre un flash dans mon thème prestashop via swfobject.embedSWF () et lorsque je veux lui passer le paramètre wmode: transparent je me retrouve avec une page blanche ...

Je ne comprends vraiment pas pourquoi, j'ai respecté la doc mais rien !

Si quelqu'un voit d'ou cela peut venir je suis largement preneur :)

Pour info voilà lez contenu de mon header.tpl avec le swfobject.embedSWF () :

>

<html >
   <head>
       <title>{$meta_title|escape:'htmlall':'UTF-8'}</title>
{if isset($meta_description) AND $meta_description}
       <meta name="description" content="{$meta_description|escape:htmlall:'UTF-8'}" />
{/if}
{if isset($meta_keywords) AND $meta_keywords}
       <meta name="keywords" content="{$meta_keywords|escape:htmlall:'UTF-8'}" />
{/if}
       <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
       <meta name="generator" content="PrestaShop" />
       <meta name="robots" content="{if isset($nobots)}no{/if}index,follow" />
       <link rel="icon" type="image/vnd.microsoft.icon" href="{$img_ps_dir}favicon.ico" />
       <link rel="shortcut icon" type="image/x-icon" href="{$img_ps_dir}favicon.ico" />
{if isset($css_files)}
   {foreach from=$css_files key=css_uri item=media}
   <link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" />
   {/foreach}
{/if}
       [removed][removed]
       [removed][removed]
       [removed]
           var baseDir = '{$content_dir}';
           var static_token = '{$static_token}';
           var token = '{$token}';
           var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals};
           swfobject.embedSWF("http://perso.ovh.net/~magiecas/Boutique/themes/prestashop/MC-BanniereHaute.swf", "headerflash", "966", "206", "9.0.0", "expressInstall.swf", null, {wmode: "transparent"});
           swfobject.embedSWF("http://perso.ovh.net/~magiecas/Boutique/themes/prestashop/Module-Mars.swf", "contentflash", "536", "279", "9.0.0", "expressInstall.swf", null, {wmode: "transparent"});
       [removed]
       [removed][removed]
       [removed][removed]
       [removed][removed]
{if isset($js_files)}
   {foreach from=$js_files item=js_uri}
   [removed][removed]
   {/foreach}
{/if}
       {$HOOK_HEADER}
   </head>

   <body {if $page_name}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if}>
   {if !$content_only}
</pre>
<ul>{l s='This shop requires JavaScript to run correctly. Please activate JavaScript in your browser.'}</ul>
<br><div>

           <!-- Header -->

               <!---->


Flash player unvailable





                   {$HOOK_TOP}



           <!-- Left -->

               {$HOOK_LEFT_COLUMN}


           <!-- Center -->

               {if $page_name eq 'index'}


Flash player unvailable




               {/if}
   {/if}

<
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...