Re: .wmv and .asf files not found by WMP 11
- From: "Neil Smith [MVP Digital Media]" <neil@xxxxxxxxxx>
- Date: Sat, 08 Dec 2007 13:39:48 GMT
On Fri, 7 Dec 2007 08:39:05 -0800, tcarp
<tcarp@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
How are you linking to the files? Directly or via ASX/WVX?
I'm assuming you mean the html hyperlink. Here's an example:
<a href="multimedia/cellphones_1.wmv">My cell phone</a>
When creating 'relative' links like the one above, it's sometimes hard
to work out exactly where that content should be stored in the
filesystem. In the link above, you would need to have the cellphones_1
file in a 'multimedia' folder one level *below* that of your web page.
It's usually easier for everbodys sanity to stick to absolute URLs, so
if you had /multimedia/cellphones_1.wmv instead (note preceding slash)
then all pages on your website would be able to use that without you
having to check on each page what the path to the file is, relative to
the web page you're on. It improves maintenance.
Is the MIME type set?
Where?
OK so if you had IIS web server locally, you should read
http://www.microsoft.com/windows/windowsmedia/howto/articles/webserver.aspx#webserver_topic2
On other web server (Apache, Lighthttpd etc) there's info at
http://msdn2.microsoft.com/en-us/library/ms867184.aspx on setting the
specific httpd.conf lines. Restart the web server once you've changed
those settings.
Have you tried resetting the association using WMP's Tools:Options:File
Types?
Where to you access that menu? I fire up WMP but don't see a Tools menu item.
In WMP11, that would be (any of the tabs) small dropdown menu, More
Options, File Types instead.
Sorry, I'm not an expert on this stuff. I understand the html and the tests
I've run, and have heard of MIME and know it's somehow associated with file
types, but would fail even a basic exam on the topic.
Just FYI, the MIME type tells the browser what type of application to
bring up to handle the link - because that link isn't to an HTML page,
it needs to know what program to start to view the content.
When a web *server* sees (eg) a .wmv file extension, all other things
being equal it will then send a MIME type header video/x-ms-asf or
video/x-ms-wmv back to the browser.
The browser sees this value in the server response headers, looks up
on your local PC what program should handle 'video/x-ms-asf' (those
values are stored in the registry) and brings up the appropriate
handler for that file type (usually WM Player, though VideoLAN and
other players can also associate with that).
The same thing happens with PDF (Acrobat) and Word docs, though
frequently the MIME type is already set on the server using default
installation settings.
HTH
Cheers - Neil
------------------------------------------------
Digital Media MVP : 2004-2007
http://mvp.support.microsoft.com/mvpfaqs
.
- Follow-Ups:
- Re: .wmv and .asf files not found by WMP 11
- From: tcarp
- Re: .wmv and .asf files not found by WMP 11
- References:
- Re: .wmv and .asf files not found by WMP 11
- From: zachd [MSFT]
- Re: .wmv and .asf files not found by WMP 11
- Prev by Date: Windows Media Player - all sound is distorted and mono only ??
- Next by Date: Re: Vista 11.0.6000.6344, Crash on rip tab
- Previous by thread: Re: .wmv and .asf files not found by WMP 11
- Next by thread: Re: .wmv and .asf files not found by WMP 11
- Index(es):
Relevant Pages
|