Excuse me sir, your Flash is broken!
Microsoft have just been successfully sued for half a billion dollars by a small company called Eolas, who claim to hold the patent rights for the technology that permits plug-ins like Flash and QuickTime to work in browsers – and the judges seem to agree. The upshot of all this is that Microsoft has to alter Internet Explorer so that plug-ins can't launch automatically as they do at present. This is true for all Active-X and Java applets as well. A modified version of IE, due early next year, will simply put up a dialog box asking if you want to view the content – with just an 'OK' button, so you don't really have much choice.
Is that stupid or what?
If you have Flash, content on your page, or anything else that depends on plugins, in the next few months, your IE-using audience are going to be hassled by this inane step. It remains to be seen how or if other browsers will be affected.
Normally, you would insert something like this into your HTML to display a Flash movie...
swflash.cab#version=6,0,29,0" width="468" height="60">
<param name="movie" value="../flash/nano.swf">
<param name="quality" value="high">
<embed src="../flash/nano.swf" quality="high"
type="application/x-shockwave-flash" width="468" height="60">
Put this script on your page where you want the Flash to play:-
Substitute your own movie's file path, width and height for the green text. The external script, which I've called 'flashHelper.js', goes like this:-
height='+h+'><param name="movie" value='+f+'>
<param name="quality" value=high><embed src="'+f+'"
quality=high pluginspage="http://www. macromedia.com/
As the object code already has a load of double quotes in it, I can wrap it all in a set of single quotes – that's easier than changing all the double quotes to single ones inside double quotes. I then have to get rid of the line breaks and close everything up into one long line.
So, there you have Flash that won't throw up any stupid dialogs. As a side benefit, it will also allow your page to validate because any page with an <embed> tag won't. The other workarounds suggest by Microsoft won't validate either. Wrapping it in an external script like this hides it from HTML validation.