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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Template Questions /

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

Embedding Flash in Template using SWFObject2


Go to End


1949 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!