Note that there are some explanatory texts on larger screens.

plurals
  1. PODOCTYPE tag in IE 9
    primarykey
    data
    text
    <p>In my web application I am using media player object in a jquery dialog. </p> <p>When using DOCTYPE code i cant see the media player.Actually there is media player.While right click on that area , i will get corresponding menu.I can even see tooltip.But just the object is hidden ( cant see ) .</p> <p>If i removed the DOCTYPE tag, then all things works as i expected. Any idea about this?</p> <p>This only happens in <strong>IE 9</strong></p> <p>The code is shown below:</p> <pre><code> &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;head id="Head1"&gt;&lt;title&gt; Test &lt;/title&gt; &lt;link href="jquery.ui.all.css" rel="stylesheet" type="text/css" /&gt; &lt;script src="jquery_1_4_4.js" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="jquery-ui-1.8.9.custom.min.js" type="text/javascript"&gt;&lt;/script&gt; &lt;script language="JavaScript" type="text/javascript"&gt; $(document).ready(function () { $("#player").dialog(); }); &lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;div id="player"&gt; test &lt;object id='mPlayerCallTranscription' classid='CLSID:6BF52A52-394A-11d3-B153- 00C04F79FAA6' type='application/x-oleobject' height="42" width="250"&gt; &lt;param name='AllowHideDisplay' value='True' /&gt; &lt;param name='AllowHideControls' value='True' /&gt; &lt;param name='URL' value="sdsd" /&gt; &lt;param name='AutoStart' value='false' /&gt; &lt;param name='balance' value='0' /&gt; &lt;param name='enabled' value='True' /&gt; &lt;param name='fullScreen' value='False' /&gt; &lt;param name='playCount' value='1' /&gt; &lt;param name='volume' value='100' /&gt; &lt;param name='rate' value='1' /&gt; &lt;param name='StretchToFit' value='True' /&gt; &lt;param name='enabledContextMenu' value='True' /&gt; &lt;param name='MovieWindowSize' value='0' /&gt; &lt;param name='DisplayMode' value='0' /&gt; &lt;param name='ShowControls' value='True' /&gt; &lt;param name='ShowDisplay' value='False' /&gt; &lt;param name='windowlessVideo' value='True' /&gt; &lt;param name='uiMode' value='full' /&gt; &lt;%-- !IE--%&gt; &lt;object type="video/x-ms-wmv" data="asds" width="251" id="mPlayerCallTranscriptionMozilla" height="42"&gt; &lt;param name="src" value="sds" /&gt; &lt;param name="autostart" value="false" /&gt; &lt;param name="controller" value="true" /&gt; &lt;param name="ShowControls" value="true" /&gt; &lt;param name="BufferingTime" value="2" /&gt; &lt;param name="fullScreen" value="false" /&gt; &lt;param name="ShowStatusBar" value="true" /&gt; &lt;param name="AutoSize" value="false" /&gt; &lt;param name="InvokeURLs" value="false" /&gt; &lt;/object&gt; &lt;/object&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>If i removed the doctype , ie ,</p> <pre><code> &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; </code></pre> <p>, i can see the player .But all alignment is gone.</p> <p>Here i am attaching pics of both cases</p> <p>1.While not using DOCTYPE</p> <p><img src="https://i.stack.imgur.com/iQTFk.png" alt="enter image description here"></p> <p>2.While using DOCTYPE</p> <p><img src="https://i.stack.imgur.com/TlQ32.png" alt="enter image description here"></p> <p><strong>EDIT:</strong></p> <p>If i am not using jquery dilog ,its works fine . </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.
 

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