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.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Hardcode Flash


Reply


3 Posts   1169 Views

Avatar
Briohny

Community Member, 199 Posts

29 September 2008 at 10:51pm

Edited: 29/09/2008 10:54pm

I've hardcoded some flash code into my page.ss file. It works perfectly in IE but not in Firefox. Here is my code:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="252" height="198">
                               <param name="movie" value="mysite/images/flash/myfile.swf">
                               <param name="quality" value="high">
                               <embed src="mysite/images/flash/myfile.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="252" height="198"></embed>
                               </object>

The error that is appearing in Firefox is:

XML Parsing Error: mismatched tag. Expected: </param>.
Location: http://localhost:3000/santapark/?flush=1
Line Number 53, Column 15:

This code works fine just as a regular html page in Firefox so it must be something to do with SS?

Any ideas how to fix?

Avatar
dio5

Community Member, 501 Posts

29 September 2008 at 11:36pm

Edited: 29/09/2008 11:44pm

It says this because it's invalid xml, while in IE the page is not served with an xml-prolog (so no real xml, just xhtml).

Try self-closing the param tags. ( <param ... /> ).

Or change the doctype in yr template to something without the xml-prolog, disable the content-negotiator in config.php if necessary

ContentNegotiator::disable();

Avatar
Briohny

Community Member, 199 Posts

29 September 2008 at 11:42pm

Thanks Dio5. I removed the xml version and it works fine now. Thank you.