> Okay, I'm having a major problem here. Some of you may recall
> I was trying to protect images by using CFCONTENT to call them
> from a non-public directory. Well, my boss wants me to do the
> same with some avi files, which I sort of managed to do. Put
> there is 1 problem. They only work in IE. Netscape downloads
> the file then craps out on it. Here is the code:
>
> in the dsp_avis.cfm template:
>
> **SNIP**
>
> <TD>A HREF="avi.cfm?avinum=#i#" target="_blank">AVI #i#</A></TD>
>
> **SNIP**
>
> The avi.cfm template:
>
> **SNIP**
>
> <CFCONTENT TYPE="video/x-msvideo"
> FILE="D:\InetPub\virtual\movies\#aviname#"
> DELETEFILE="No">
>
> **SNIP**
>
> In Internet Explorer, the file downloads and opens Media
> Player and the avi will play. In Netscape it downloads and
> pops up an error. I'm guessing its because the Netscape media
> player doesn't understand the avi.cfm file type and can't play
> it. Is there any easy way to fix this without having website
> visitors have to change browser settings (or browsers).
You might need to tell the browser to use a different filename. Try using
one of the examples here:
http://www.figleaf.com/demo/mimetest/
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.