A Potential Solution to the Eolas Flash Woes - The Object Replacement Method
Wednesday 19 April 2006 @ 8:04 am
Filed under:

There are a number of solutions out there for the limitation that Microsoft just put into place to deal with the Microsoft-Eolas plug-in patent dispute. The ones that I have seen (e.g: Flashobject) are nice but involve changing how you publish your Flash files and embed them into the HTML. I was thinking, it is possible to rewrite the HTML on the fly with JavaScript, so what if we just loop through all the Object tags within the Document Object Model, and replace the HTML? It could be done with one function call, and would not affect how you put the <object> and <embed> tags on the page.

The experiment that I tried does exactly that: it loops through all the <object> tags, and just replaces the HTML with exactly the same HTML. This makes IE think that the HTML is dynamically placed on the page, even though it started as just straight HTML.
read more…


Blog Categories

Browse by Date
April 2006
M T W T F S S
« Mar   Jul »
 12
3456789
10111213141516
17181920212223
24252627282930

Monthly Archives

Bloggers Area

XML Feeds Option