Videos download as html

They have: 13 posts

Joined: Jul 2005

On my website I have some video downloads. There just text links linked to the video, none of this download.asp?=video.wmv, its just linked directly to the video source. The problem is that when you right click, save target as, it downloads the video as an html file, and if you left click the link, instead of opening windows media player it opens the video as an html page with loads of random text, just like if you were to drag a video into notepad. All the videos on my site are wmv format.

Anyone no how to fix this?

CptAwesome's picture

He has: 370 posts

Joined: Dec 2004

it's probably your Apache (or IIS or whatever) web server having a config for mimetype/file extension being wrong

try a .htaccess file with:
AddType video/x-ms-wmv .wmv

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.