Note that there are some explanatory texts on larger screens.

plurals
  1. POswf file loading with wrong width/height
    primarykey
    data
    text
    <p>I have a swf file in an html page. The dimensions of the swf load correctly when I view it in eclipse's web browser, but when I put the file in internet explorer (10?) the outer perimeter of the window is cropped, so that only part of the swf video is visible while it is playing. I want users in a wide variety of browsers to be able to load the video without problems. How can I accomplish this in code? </p> <p>Here is the code which is causing the problem: </p> <pre><code>&lt;div style="float:right;display:inline-table;"&gt; &lt;OBJECT classid="clsid:bunchalettersandnumbers" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,28;" WIDTH=616 HEIGHT=490&gt; &lt;PARAM NAME=movie VALUE="my_vid.swf"&gt; &lt;PARAM NAME=quality VALUE=high&gt; &lt;PARAM NAME=bgcolor VALUE="#FFFFFF"&gt; &lt;param name="allowFullScreen" value="true" &gt; &lt;EMBED src="my_vid.swf" allowfullscreen="true" quality=high bgcolor="#FFFFFF" WIDTH=616 HEIGHT=490 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"&gt; &lt;/EMBED&gt; &lt;/OBJECT&gt; &lt;/div&gt; </code></pre> <hr> <h2>EDIT:</h2> <p>As per Aspiro's suggestion, I am using the following code now, but it is still causing the same problem: </p> <pre><code>&lt;head&gt; &lt;script type="text/javascript"&gt; swfobject.embedSWF("myvid.swf", "myContent", "700", "550", "9.0.0"); &lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;div id="myContent" style="border: 3px solid #FFCC66;"&gt;Some text&lt;/div&gt; &lt;/body&gt; </code></pre>
    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.
 

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