From: Will Kemp on
On 09/06/2009 10:07 PM, Folderol wrote:
> On Sun, 06 Sep 2009 01:05:32 +0100
> Sheridan Hutchinson<Sheridan(a)Shezza.org> wrote:
>
>> Folderol wrote:
>>> Recent versions of firefox always try to play ogg files (and seem to
>>> think they are videos) even though I have *all* options set to 'Always
>>> Ask'. Anyone know how to defeat this and regain control?
>>
>> It could be a configuration quirk. Have you tried moving your .firefox
>> out of the way temporarily and seeing what the defaults do?
>
> That actually makes things worse! I end up with mp3 also auto-running,
> even though I set all the mp3 and ogg variants to 'Always Ask'
>
> However, I've narrowed it down a bit. It seems to depend on the tupe of
> link.
>
> If it is an absolute standard:
> http://www.thissite.com/thispage/thistune.ogg
> Then that is when I have a problem, however if it is one of those funny
> php script links than many webforums use then it behaves correctly.
>
> I would have expected it to be the other way round :o

I don't understand what you mean by "absolute standard". But you
probably need to set the Content-Type and Content-Disposition headers -
however, you'll need to use PHP or something to do that.


--
http://NovemberEchoRomeoDelta.com

From: alexd on
Folderol wrote:

> However, I've narrowed it down a bit. It seems to depend on the tupe of
> link.

Perhaps it depends on the mimetype sent by the server?

--
<http://ale.cx/> (AIM:troffasky) (UnSoEsNpEaTm(a)ale.cx)
22:01:29 up 10 days, 1 min, 2 users, load average: 0.61, 0.31, 0.22
"If being trapped in a tropical swamp with Anthony Worral-Thompson and
Christine Hamilton is reality then I say, pass the mind-altering drugs"
-- Humphrey Lyttleton


From: Folderol on
On Mon, 07 Sep 2009 22:01:59 +0100
alexd <troffasky(a)hotmail.com> wrote:

> Folderol wrote:
>
> > However, I've narrowed it down a bit. It seems to depend on the tupe of
> > link.
>
> Perhaps it depends on the mimetype sent by the server?

Well, it now looks very much like some screw-up in the local mime
database. Looking at Opera, I found multiple entries for .ogg and it was
necessary to edit *all* of them before I got the action I wanted.
However, Firefox one shows one entry, so presumably it's one of the
'hidden' entries that is being picked up.

Both of these machines have been, upgraded in stages from debian etch
(now on squeeze). What tends to point even more firmly in this
direction is that a different machine with Ubuntu 8.10 doesn't show the
problem.


The question is, how on earth do I sort out the database? I picked un
an mime editor off synaptic, and it seems to show all these entries
but doesn't allow me to delete any (yes I did try as root too)

Suggestions welcome!

--
Will J G
From: Andy Botterill on
Folderol wrote:
> On Mon, 07 Sep 2009 22:01:59 +0100
> alexd <troffasky(a)hotmail.com> wrote:
>
>>
> Well, it now looks very much like some screw-up in the local mime
> database. Looking at Opera, I found multiple entries for .ogg and it was
> necessary to edit *all* of them before I got the action I wanted.
> However, Firefox one shows one entry, so presumably it's one of the
> 'hidden' entries that is being picked up.
>

> Suggestions welcome!
>
Appendix B on this page discusses something similar.
http://www.mozilla.org/projects/security/pki/psm/smime_guide.html#troubleshooting

This comments and a work around.
I hope this helps. Andy
From: Martin Gregorie on
On Tue, 08 Sep 2009 23:31:05 +0100, Folderol wrote:

> On Mon, 07 Sep 2009 22:01:59 +0100
> alexd <troffasky(a)hotmail.com> wrote:
>
>> Folderol wrote:
>>
>> > However, I've narrowed it down a bit. It seems to depend on the tupe
>> > of link.
>>
>> Perhaps it depends on the mimetype sent by the server?
>
> Well, it now looks very much like some screw-up in the local mime
> database. Looking at Opera, I found multiple entries for .ogg and it was
> necessary to edit *all* of them before I got the action I wanted.
> However, Firefox one shows one entry, so presumably it's one of the
> 'hidden' entries that is being picked up.
>
I just had a similar fight with Opera, only I wanted it to use vlc for
AVI files, instead of Totem. I too had to edit all three entries, but at
least it found and showed me all three. Looks like FF does the same, but
with the improvement that its default AVI viewer actually shows the file.


--
martin@ | Martin Gregorie
gregorie. | Essex, UK
org |