Take the 2-minute tour ×  I'm trying to insert a video player
plugin into the DOM using an object. This works fine with
Firefox and Chrome, however I get a "no such interface
supported" message from IE 8 and IE 7. The plugin works fine in
all three if it's in the HTML file the server sends out.  Here
is what I'm trying to create:  <object id="plugin" width="220"
height="360" type="application/x-ourmediaplayer"     <param
name='mode' value='LIVE' />     <param name="ip_address"
value='' />     <param name='port' value='80' />    If I use the
following code I get the error on IE:  var container =
document.getElementById('pluginContainer');   var plugin =
document.createElement('object');   plugin.id = 'plugin';
plugin['width'] = '220';   plugin['height'] = '360';
plugin['type'] = 'application/x-ourmediaplayer'>  var param =
document.createElement('param');   param['name'] = 'mode';
param['value'] = 'LIVE'; plugin.appendChild(param);  param =
document.createElement('param');   param['name'] = 'ip_address';
p