Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Template Questions /

Embedding Flash in Template using SWFObject2


Reply


1025 Views

Avatar
r_jake

Community Member, 5 Posts

17 February 2009 at 11:39am

Edited: 17/02/2009 11:42am

This isn't really a question, more of a tip for those, like myself, who have been puzzling over why embedding Flash into a template using SWFObject2 ([url=http://doc.silverstripe.com/doku.php?id=flash]as recommended by the SilverStripe team[/url]) caused their sites to give an 'operation aborted' message in Internet Explorer 6.

You simply have to close the <base> tag in the head using conditional comments, so only IE sees the </base>. I found this in the FAQs on the SWFObject site: [url]http://code.google.com/p/swfobject/wiki/faq[/url]

Guess I should have looked there first before trying to engineer all sorts of elaborate workarounds!