Re: [SLUG] Firefox will only download mp4 files

From: Eben King (eben01@verizon.net)
Date: Sun Jan 17 2010 - 14:01:02 EST


On Sun, 17 Jan 2010, Chuck Hast wrote:

> I want it to open them with vlc, I have gone into every part of the browser to
> try to get it to open the mp4 rather that download it. There is not even a
> option to try to open it.
>
> Any idea where to poke? I have looked at:
> edit/preferences/applications
> It show mpeg4 video >>> use quicktime video
> I can not even add a entry for mp4 files there

Yeah, there doesn't seem to be a way to add a file type using that dialog.
Somehow I got an entry for mp4 (actually two of them, one that says "use
mplayer" and one that says "always ask"... hmm...) so I looked at the file
~/.mozilla/firefox/<random-looking-string>/mimeTypes.rdf and found these
entries mentioning video/mp4:

   <RDF:Description RDF:about="urn:mimetype:externalApplication:video/mp4"
                    NC:path="/usr/bin/mplayer"
                    NC:prettyName="mplayer" />

########################

   <RDF:Seq RDF:about="urn:mimetypes:root">
...
     <RDF:li RDF:resource="urn:mimetype:video/mp4"/>
     <RDF:li RDF:resource="urn:mimetype:audio/mp4"/>
...
   </RDF:Seq>

##########################

   <RDF:Description RDF:about="urn:mimetype:handler:video/mp4"
                    NC:useSystemDefault="false"
                    NC:handleInternal="false"
                    NC:alwaysAsk="true"
                    NC:saveToDisk="true">
     <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:video/mp4"/>

########################

   <RDF:Description RDF:about="urn:mimetype:video/mp4"
                    NC:fileExtensions="mp4"
                    NC:description=""
                    NC:value="video/mp4"
                    NC:editable="true">
     <NC:handlerProp RDF:resource="urn:mimetype:handler:video/mp4"/>
   </RDF:Description>

I don't know which of these are vital. There also are different protocols
for ending tags mixed willy-nilly, to wit:

<RDF:tag>
...
</RDF:tag>

<RDF:tag>
...
  <NC:desc RDF:type="data"/>

and

<RDF:tag>
...
  <NC:desc/>

Maybe that's from FF being updated while keeping user data.

Anyhow, I don't know how to do this, but maybe this can be of some
assistance.

-- 
-eben      QebWenE01R@vTerYizUonI.nOetP      http://royalty.mine.nu:81
GEMINI:  Your birthday party will be ruined once again by your explosive
flatulence. Your love life will run into trouble when your fiancee hurls
a javelin through your chest.  -- Weird Al, _Your Horoscope for Today_
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS).  Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 14:28:16 EDT