Benim kod Firefox ve Internet Explorer 6 iyi çalışıyor ancak Internet Explorer 7 gösteren görüntüler değildir.
Burada koddur
<script type="text/javascript">
function ShowImage()
{
//document.getElementById('videoupload').valuedocument.getElementById('videoupload').value.replace( "file:///", "")
var img = document.createElement("IMG");
if(document.all)
img.src = document.getElementById('videoupload').value;
else if(window.sidebar)
{
// solution for FF
img.src = document.getElementById('videoupload').files.item(0).getAsDataURL();
}
else
img.src = document.getElementById('videoupload').value;
document.getElementById('show').appendChild(img);
//alert(img.src);
}
</script>
<form name="frmlist" enctype="multipart/form-data" method="post">
Filename: <INPUT type="file" id="videoupload">
<INPUT type="button" id="btn_video" onClick="ShowImage();" value="Upload">
</form>
<div id="show"></div>