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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Template Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Embedding Flash in Template using SWFObject2


Go to End


1437 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 (as recommended by the SilverStripe team) 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: http://code.google.com/p/swfobject/wiki/faq

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