Hi,
I´m having a real trouble to embed a flash file(swf) into a tpl
First I´ve tried to embed within a normal html file like this
<object type=“application/x-shockwave-flash” data=“preloader.swf” width=“100%” height=“100%”>
<param name=“movie” value=“preloader.swf” />
<param name=“quality” value=“high” />
<img src=“flash.png” width=“100%” height=“100%” alt="" />
</object>
it works on the html file but in the tpl it doesn´t show
another way to do the embed is with xhtml and swfobject.js
like this
<script type=“text/javascript” src=“swfobject.js”></script>
<script type=“text/javascript”>
swfobject.embedSWF("preloader.swf ", “miFlash”, “100%”, “100%”, “10.0.0”);
</script>
<div id=“miFlash”>Alt Text</div>
this is a pretty interesting thing to do since it kind of works as css thanks to javascript, and again it works with an html file but with tpl no can do, it only shows the “Alt Text”.
since I’m using oxid for a private sales store with the azure template I want the flash file to appear on the login.tpl (private sales folder), for my second attempt with swfobject.js I´ve using the javascript few lines on the base.tpl, and then in the login.tpl file I put the div id=“miFlash” lines.
I would really appreciate your help on this.
thanks in advance!