Catherine Mollet @work
|
Thursday 27 August 2009 9:30:37 am
Hi, I'm trying to put a swf file in the top page billboard, but it doesn't show on the frontend. Looking at the code, the file seems embedded right, <div class="attribute-billboard">
<script type="text/javascript">
insertMedia( '<object type="application/x-shockwave-flash" data="/.../index.swf" width="798" height="280">', '<param name="movie" value="/.../index.swf" />', '<param name="loop" value="true" />', '<param name="play" value="true" />', '<param name="quality" value="high" />', '<p>No <a href="http://www.macromedia.com/go/getflashplayer">Flash player<\/a> avaliable!<\/p>', '<\/object>' );
</script>
<noscript>
<object type="application/x-shockwave-flash" data="/.../index.swf" width="798" height="280">
<param name="movie" value="/.../index.swf" />
<param name="loop" value="true" />
<param name="play" value="true" />
<param name="quality" value="high" />
<p>Aucun <a href="http://www.macromedia.com/go/getflashplayer">FlashPlayer</a> disponible !</p>
</object>
</noscript>
</div>
but nothing appears on the page. If I insert swf file in the center column position, for exemple, everything is OK. I tried to put the file in Media > Multimedia and in Media > Banners, nothing changes. Any idea ?
|
Catherine Mollet @work
|
Monday 31 August 2009 3:04:00 am
Hi André,
I'm using version 4.1.3.
I can see the flash when I'm embedding it in an article, but I can't see it when it's embedded as a billboard. One thing I can't explain is that the code of the flash in billboard appears when I'm looking for page source but not in the page itself. I tried with several browsers to prevent a "adblock like" problem. Same every time.
|
Catherine Mollet @work
|
Monday 31 August 2009 5:18:05 am
Hi André and Jeremy,
Thanks a lot for your answers. Sorry for the inconvenience, but André's solution was the good one. In all my attempts, I uploaded another time the banner and then, width and height loosed their values and became automatically set to 0. I didn't noticed that.
But with the original code of billboard/flash.tpl, no way. I had to replace it with the content of embed/flash.tpl. If not, even with good width and height values, it doesn't show. Thanks again.
|