|
Posted by Jim Carlock on 12/03/06 01:39
"Brian Huether" <bhuetherNO@comcastSPAM.net> wrote
: Thanks for all the replies. I found that this didn't work:
:
: header("Content-type: audio/mp3");
: fpassthru($file);
:
: Media player would launch and tell me one or more codecs
: wasn't found.
:
: But this works:
:
: header("Location: " .$file);
Open your registry editor and search for "audio/mp3" (drop
the quotes).
There's a few keys that'll turn up. There's a couple ways to
fix protocol problems ("audio/mp3" represents a protocol).
Searching Microsoft for +"Media Player" +codec should
turn up something. I know they've got a Media Player 9
set of Codecs that fixes problems with Media Player 9.
http://www.microsoft.com/downloads/details.aspx?FamilyID=06fcaab7-dcc9-466b-b0c4-04db144bb601
And they offer the following stuff as well. If you've got Win2K
I think the link above should work for you. The link below
might help as well, although I've not messed with the stuff at
it.
http://www.microsoft.com/windows/windowsmedia/forpros/codecs/codecs.aspx
Let us know what you find in the registry. There's no need to
post the HKLM\SOFTWARE\Classes\ and HKCR both, as
HKCR is a pointer to the HKLM\SOFTWARE\Classes key.
Also, the HKCU is a pointer to an HKU key, and no one
should see any UserID/GUID details and multiple users might
exist so don't bother with any of that. You might find a Netscape
key (I think that about when Mozilla or Firefox get installed)
with an "audio/mp3" protocol listed inside the HKCU.
You'll find something along the lines of:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\MPlayer2\Groups\Audio\MP3]
@="MP3 audio file (mp3)"
"FriendlyTypeName"="@C:\\WINNT\\inf\\unregmp2.exe,-10002"
"Extensions"=".mp3 .m3u"
"MIME Types"="audio/mpeg audio/mpg audio/mp3 audio/x-mpeg audio/x-mpg audio/x-mp3 audio/mpegurl audio/x-mpegurl"
"Description"="Includes files with .mp3 and .m3u extensions."
"DescriptionFriendlyName"="@C:\\WINNT\\inf\\unregmp2.exe,-10020"
and...
[HKEY_CLASSES_ROOT\MIME\Database\Content Type\audio/mp3]
"AutoplayContentTypeHandler"="MusicFilesContentHandler"
"Extension"=".mp3"
Watch the line wrap.
Hope this helps.
--
Jim Carlock
Post replies to the group.
Navigation:
[Reply to this message]
|