That adobe script is a bit of overkill. It is so complex because it is written to support just about any flash tag(s) you could come up with and is designed to work in other browsers besides IE (like Opera) that also have this 'click to activate' issue.
What you can do is simply take your tag(s) and surround them in a <noscript></noscript> tag so that non-javascript enabled users will still see the content, albeit with that 'click to activate' nonsense. Then make a script with your tag(s) in it:
document.write('<object etc....');
Save that as an external script (text only file) - say media.js, and place the tag for it after the closing </noscript> tag:
HTML Code:
</noscript>
<script type="text/javascript" src="media.js"></script>
Proper escaping of line breaks should be followed in the script, ex:
Code:
document.write('<object>\n\
<param name="whatever" value="whatever">\n\
</object>');
If you have any single quotes (') in your tag(s) - you shouldn't, generally - they must also be escaped, like so:
Bookmarks