Re: wmv and htaccess
- From: "zachd [MSFT]" <zachd@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 31 Aug 2006 11:28:13 -0700
WMP has to recreate the HTTP connection in order to get progressive download
to work, which is why you see this. If you wanted to avoid this, you would
need to use Content-Disposition to have them download the file instead of
playing it back directly, or (as Neil suggested) have them play it in an
embedded player.
-Zach
--
Windows Media Development Team (speaking for myself only)
See http://zachd.com/pss/pss.html for some helpful WMP info.
This posting is provided "AS IS" with no warranties, and confers no rights.
--
<RichardEDaley@xxxxxxxxx> wrote in message
news:1156950359.854126.110440@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi Neil,
I added this line to my htaccess file:
AddType video/x-ms-wmv wmv
But WMP still asks for the htaccess username and password a second
time..
Rich
Neil Smith [MVP Digital Media] wrote:
When you "added the MIME type" do you mean you used AddType on the
htaccess for that directory ? Which types did you add fot the WMV
content type ?
Cheers - Neil
On 29 Aug 2006 05:19:54 -0700, RichardEDaley@xxxxxxxxx wrote:
Thanks for the reply Gary.------------------------------------------------
I had thought of building another page with the embedded wmv but to be
honest, I'm not sure it is worth the time. This directory does not
have that many users and it isn't that big of a deal to have them
retype their information (the users are employees). I was just
wondering why this wasn't working in case I run into it on an external
directory.
I also tried adding the mime type to the htaccess file but it didn't
make a difference.
Thanks!
Rich
Gary Hasler wrote:
Whoops, meant to say...
"Maybe if you made a web page with a browser feature AND EMBEDDED
PLAYER, so
that the request is..."
Gary Hasler wrote:
So I assume your htacces file permits directory browsing, and the
users are
picking their files using their web browser in that mode?
Typically, clicking a filename in this mode results in Media Player
opening
and trying to download the file itself, correct?
I'm no expert but I think this is because of the way the web server
sends
(or doesn't send) the "mime" type header for the file to the web
browser,
which then says "oh, this type is for Media Player", and hands it
off.
Maybe if you made a web page with a browser feature, so that the
request is
coming from the web browser rather than Media Player?
I don't know...just a suggestion.
Digital Media MVP : 2004-2006
http://mvp.support.microsoft.com/mvpfaqs
.
- References:
- wmv and htaccess
- From: RichardEDaley
- Re: wmv and htaccess
- From: Gary Hasler
- Re: wmv and htaccess
- From: Gary Hasler
- Re: wmv and htaccess
- From: RichardEDaley
- Re: wmv and htaccess
- From: Neil Smith [MVP Digital Media]
- Re: wmv and htaccess
- From: RichardEDaley
- wmv and htaccess
- Prev by Date: Re: MEDIA PLAYER ENCOUNTERED A PROBLEM & NEEDS TO CLOSE
- Previous by thread: Re: wmv and htaccess
- Next by thread: Re: how do I burn a track without vocals?
- Index(es):
Relevant Pages
|