|
On Fri, May 13, 2005 at 03:14:23PM +0000, David Koudys wrote:
> This is going a little back, but I read that streaming media from
> a webserver takes up more bandwidth than just downloading and
> viewing locally. Things may have changed. And, for myself, I like
> keeping these things anyway, so I save where I can instead of
> streaming, anyway.
Huh - I'd be surprised if that is the case. And yes, I usually save
stuff locally too.
> > With apache, it should be doable - basically override the mime-
> > type for .mov files in that directory, maybe even for that
> > particular file.
>
> This is the level of ignorance on my side--I thought it would be a client-
> side thing--anytime your browser hits an extension like .mov, display
> with quicktime.
Both ends work together here. Apache tells the client that the file has
a content-type of video/quicktime, then the client decides if it knows
how to launch a viewer of it (or maybe even deal with it internally),
and then if it should ask the user what to do, or just do it.
So on the server side you can tell apache to send the file as a generic
content-type (like application/octet-stream), which the client browser
can't have a viewer defined, and therefor will just present a save
option to the user.
Of course, in a mis-guided attempt to be user-friendly, some browsers
might try to ignore the content-type, and "guess" what it should be
based on the extension... But there's nothing you can do about that.
> I've looked at my Apache conf file and there's no associations with .mov's, so I
> just assumed it was a client-side thing.
Apache works off the system default mime-types - on linux, it reads the
/etc/mime.types to learn the associations. I have to assume it does a
similar thing on Windows.
HTH!
--
Dan Boger
dan@peeron.com
|
|
Message is in Reply To:
| | Re: Lego Star Wars on Cartoon Network
|
| (...) This is going a little back, but I read that streaming media from a webserver takes up more bandwidth than just downloading and viewing locally. Things may have changed. And, for myself, I like keeping these things anyway, so I save where I (...) (20 years ago, 13-May-05, to lugnet.mediawatch, lugnet.publish)
|
33 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|