I changed this
if ($fext == "mpg" or $fext == "mpeg")
{
$viewheight = "290";
$viewwidth = "320";
}
else
{
$viewheight = "45";
$viewwidth = "230";
}
to
if ($fext == "wmv")
{
$viewheight = "290";
$viewwidth = "320";
}
else
{
$viewheight = "45";
$viewwidth = "230";
}
And when I uploaded *.wmv, it was shown as a movie formatl however, when I click to see it, I worked like an audio file, no images... Please help!
I figured it out already...
|