So neither the swfobject.js or test.swf is in the location you are specifying:
http://ovh.tretas.eu/~ricardo/shop/swfobject.js 404 (Not Found) http://ovh.tretas.eu/~ricardo/shop/test.swf 404 (Not Found) Try using Firebug or Chrome developer tools to look at the js errors and inspect your page elements to see what is going on... Aran On Tue, Feb 7, 2012 at 10:15 AM, SAIEx <[email protected]> wrote: > Thanks for the replies. > > The page in wich I tried to embed flash is this: > http://ovh.tretas.eu/~ricardo/shop/product.php?id_product=1 > > What I'm trying to do (for now) it´s just embed the .swf file in the > page without passing any variables (whether by the static or dynamic > embedding method). > > I´ll look into the source of the pages. > > Thanks again!! > > On 7 Fev, 16:10, Aran Rhee <[email protected]> wrote: > > - I see 2 complete html structures, one with static embed and one with > > dynamic embed. Which one are you wanting to use as they both accomplish > the > > same thing? > > > > - What exactly are you trying to achieve in your page? Genrally .tpl file > > are used to include variables etc inside a .php page, and I don't see > where > > you are using any template values from your .tpl file here. > > > > As Sam said, you should compare the output from your tpl driven page to a > > static page and see what is different. A link to the non working page > means > > others can have a look and offer advice. > > > > Aran > > > > > > > > > > > > > > > > On Tue, Feb 7, 2012 at 9:32 AM, SAIEx <[email protected]> wrote: > > > Hi, > > > I want to add a flash object to a .tpl file. But first i tested both > > > ways to embed falsh using SWFObject in a .html file and it worked fine > > > (code below) but when i try to do it on a .tpl file it doesn't work. I > > > have no idea how to solve this, please help! Thanks! > > > > > PS: I use Chrome. > > > > > <html> > > > <head> > > > <title>Embedding Flash Test</title> > > > <script type="text/javascript" > src="swfobject.js"></script> > > > <script type="text/javascript"> > > > swfobject.registerObject( > > > "flash", > > > "9.0.0", > > > "expressInstall.swf" > > > ); > > > </script> > > > </head> > > > <body> > > > <object id="flash" classid="clsid:D27CDB6E- > > > AE6D-11cf-96B8-444553540000" width="100&" height="600"> > > > <param name="movie" value="test.swf" /> > > > <object type="application/x-shockwave-flash" > > > data="test.swf" > > > width="100%" height="600"> > > > <!--<![endif]--> > > > <p>Alternative content</p> > > > <!--[if !IE]>--> > > > </object> > > > <!--<![endif]--> > > > </object> > > > </body> > > > </html> > > > > > <html> > > > <head> > > > <title>Embedding Flash Test</title> > > > <script type="text/javascript" > src="swfobject.js"></script> > > > <script type="text/javascript"> > > > swfobject.embedSWF( > > > "test.swf", > > > "flashContent", > > > "100%", > > > "600", > > > "9.0.0", > > > "expressInstall.swf" > > > ); > > > </script> > > > </head> > > > <body> > > > <div id="flashContent"> > > > Flash content here. > > > </div> > > > </body> > > > </html> > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "SWFObject" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]. > > > For more options, visit this group at > > >http://groups.google.com/group/swfobject?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "SWFObject" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/swfobject?hl=en. > > -- You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.
