Thanks for this class.
Looks promising.
However I found one issue
It doesn't escape all links
Example
s1cd8b59012a51cedd1d361894377877a0.addParam("flashvars","file=http://gdata.<span class="highlight">youtube</span>.com/feeds/api/videos%3Fvq%3Ddiamonds+neckless%26format=5%26orderby=rating%26max-results=50%26start-index=1&playlist=bottom&fullscreen=true&logo=./cmsimg/cfcmslogo.png&skin=./includes/swf/Stijl.swf&stretching=exactfit&autostart=true");
search word youtube and it found youtube in this swfobject
gdata.<span class="highlight">youtu
...
In this case I will get an js error