When using swfobject2.x, if you write things like displaylist.position, the page won't load at all. So it is either swfobject bug or Jwplayer needs to change to other format.

When using swfobject2.x, if you write things like displaylist.position, the page won't load at all. So it is either swfobject bug or Jwplayer needs to change to other format.
Ditto.
I have had a real p ig of a problem with exactly this issue! If you generate JS code like this:
flashvars.adtonomy.config = 'foo';
and look at the generated SWF object cod it looks like this, literally...
<param name="flashvars" value="..adtonomy=[object Object]"
so I would say the problem is that SWFObject cannot dal with nested objects.
My workaround was to specify the required values in the params line instead. Thankfully the SWFObject code seems to merge options ok... so the final code in my source looks like this :-
var flashvars = {};
var params = {};
var attributes = {};
flashvars.controlbar='bottom';
flashvars.skin='/swf/godtv-skin-black-new.swf';
flashvars.autostart='true';
flashvars.plugins='adtonomy';
attributes.id='gtv_jw_player';
attributes.name='gtv_jw_player';
params.allowFullScreen='true';
params.allowscriptaccess='always';
params.wmode='opaque';
params.flashvars='adtonomy.config=http://localhost/sites/default/files/adtonomy/gtv_ads.xml';
flashvars.file = '/A-BTS-WEB-338.flv';
flashvars.streamer = 'rtmp://godtv.fcod.llnwd.net/a2733/e1';
swfobject.embedSWF('/swf/jwplayer.swf','jw_player','500','277','9','expressInstall.swf', flashvars, params, attributes );
which causes SWFObject to create this in the final DOM...
<object id="gtv_jw_player" width="500" height="277" type="application/x-shockwave-flash" name="gtv_jw_player" data="/swf/jwplayer.swf">
<param name="allowFullScreen" value="true"/>
<param name="allowscriptaccess" value="always"/>
<param name="wmode" value="opaque"/>
<param name="flashvars" value="adtonomy.config=http://localhost/sites/default/files/adtonomy/gtv_ads.xml&controlbar=bottom&skin=/swf/godtv-skin-black-new.swf&autostart=true&plugins=adtonomy&file=/A-BTS-WEB-338.flv&streamer=rtmp://godtv.fcod.llnwd.net/a2733/e1"/>
</object>
And what do yo know, everything works EXCEPT adtonomy is so far refusing to show my test advert and I do not yet know why but that should be a separate post.
Hope that helps.