I am trying insert the following code into my blog, but the code tag does not work.
<html>
<body>
<object type="application/x-shockwave-flash" data="{!Scontrol.JavaArchive}" class="movie" width="100%" height="100%">
<param name="movie" value="{!Scontrol.JavaArchive}" />
<param name="bgcolor" value="F3F3EC" />
<PARAM NAME=FlashVars VALUE="salesforcesession={!API.Session_ID}¶m1={!Opportunity.Name}">
<img src="http://path-to/noflash.gif" width="100%" height="100%" alt="No flash installed" title="No flash installed" class="image" />
</object>
</body>
</html>
I am getting the following error: Is there a way around this?
Illegal tag: html
Tag body can only be used once!
Tag object must occur inside another tag
Found invalid URL: Invalid URL
Tag object may not have attribute class
Parser error: not well-formed (invalid token) near
<param NAME=FlashVars VALUE="sal
Ahh you wanting to display this code, just like how you have in your post, or do you want to include/use the code (have it run)?
If you want to display the code, take a look at AstonishMe.co.uk's code plugin