This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Question:DM368 web activeX problem

if width = 100% ,the vedio is gradient ,but if width is fixed value, the vedio is right, why?

<HTML>
<HEAD>
<TITLE>ATL 3.0 test page for object GFFMpeg</TITLE>
</HEAD>
<BODY onLoad="play1()">
<OBJECT ID="GFFMpeg1" name="GFFMpeg1" CLASSID="CLSID:B2F190F0-1FA4-4D77-9ABD-1A054D23653D" width = "100%" height = "100%"></OBJECT>
<input type=button onclick="javascript:play1()" name='Play' value='Play 1' >

</BODY>
</HTML>

<script language=javascript>
function play1()
{
try
{
var x = document.getElementById("GFFMpeg1");
var vz3= x.Play('c:\\1.h264')
}
catch(Exception)
{
alert("error")
}
}
</script>