Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Well, I realized my answer was exactly what you were doing. Oops.</p> <p>The MSDN documentation shows a lot of methods for the <a href="http://msdn.microsoft.com/en-us/library/ms535859%28v=VS.85%29.aspx" rel="nofollow">object Object</a>, but it doesn't specify <code>appendChild</code>. The <code>appendChild</code> method documentation specifies that it is a part of a bunch of objects, but not object. <a href="http://msdn.microsoft.com/en-us/library/ms536341%28v=VS.85%29.aspx" rel="nofollow"><code>applyElement</code></a> looks like it might work.</p> <p>Also, the <a href="http://msdn.microsoft.com/en-us/library/ms536452%28v=VS.85%29.aspx" rel="nofollow"><code>insertAdjacentHTML</code></a> method and <a href="http://msdn.microsoft.com/en-us/library/ms533897%28v=VS.85%29.aspx" rel="nofollow"><code>innerHTML</code></a> parameter are valid on object Objects, and may be helpful.</p> <hr> <p><strike>Hrm - I'm not familiar with .net, but I have done something similar in Javascript. Chrome seems to produce the correct document setup with the following:</p> <pre><code>&lt;script&gt; var newObj=document.createElement( "object" ); newObj.setAttribute( 'width', '640' ); newObj.setAttribute( 'height', '480' ); newObj.setAttribute( 'data', 'http://ozdoctorwebsite.com/test-4938161.gif' ); var newParam=document.createElement( "param" ); newParam.setAttribute( 'name', 'test' ); newObj.appendChild( newParam ); document.body.appendChild( newObj ); &lt;/script&gt; </code></pre> <p>Basically - append your param element to the player and append the player to the document.body.</strike></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload