 <p>I've never used swfobject but from what I'm seeing you've created a swf object and are asking it to be added to the videoDiv element. Are you sure you want this behaviour ?</p> <p>Because from where I'm standing I think you should have used the createSWF method and added the returned object to your html array.</p>