Martin Blackwell
2002-Dec-15 08:59 UTC
[vorbis] Mozilla nacking up to peek inside a vorbis file
Just been doing some simple phrases for Phoenix Online, uploaded the samples in q1 & q3 vorbis- when i click on the links in Mozilla, it opens the file in the window, displaying the files as text. How could i change the html file i've linked them on so that when people click on the links, this won't happen? http://galileo.spaceports.com/~djdij/po/index.html code that works in Mozilla & IE would be handy (its also worth noting that in Mozilla, you dont get that irritating ad window at the bottom of the page) <p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Jack Moffitt
2002-Dec-15 09:12 UTC
[vorbis] Mozilla nacking up to peek inside a vorbis file
> How could i change the html file i've linked them on so that when people click on the links, this won't happen?You can't. You need to change teh mimetypes that the server is returning. They need to be set to application/x-ogg. jack. --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Jernej Simonèiè
2002-Dec-15 09:20 UTC
[vorbis] Re: Mozilla nacking up to peek inside a vorbis file
Hello Martin, 15. december 2002, 17:59:09, you wrote:> How could i change the html file i've linked them on so that when people click on the links, this won't happen?It's not HTML problem, the server returns wrong Content-Type header (text/plain innstead of eg. application/octet-stream) -- Jernej Simoncic, jernej.simoncic@guest.arnes.si http://www2.arnes.si/~sopjsimo/ ICQ: 26266467 When it is not necessary to make a decision, it is necessary not to make a decision. -- Lord Falkland's Rule --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
gtgbr@gmx.net
2002-Dec-15 09:36 UTC
[vorbis] Mozilla nacking up to peek inside a vorbis file
> Martin Blackwell wrote: > Just been doing some simple phrases for Phoenix Online, uploaded the > samples in q1 & q3 vorbis- when i click on the links in Mozilla, it > opens the file in the window, displaying the files as text. > How could i change the html file i've linked them on so that when > people click on the links, this won't happen?You have to fix your webserver configuration. If you use Apache: In your mime.types file: application/x-ogg ogg Or, if you use MIME magic, in your magic file: 0 string OggS application/x-ogg If you can't do that, it's up to the clients to add the content type application/x-ogg to their browsers and have it open a download dialogue or so. Or, just ask your ISP to do this. While you're at it, in httpd.conf: AddDescription "Ogg Multimedia" .ogg <p><p>Moritz --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
You should be able to add a .htaccess file containing: AddType application/x-ogg .ogg <p>----- Original Message ----- From: Martin Blackwell To: vorbis@xiph.org Sent: Sunday, December 15, 2002 11:59 AM Subject: [vorbis] Mozilla nacking up to peek inside a vorbis file <p>Just been doing some simple phrases for Phoenix Online, uploaded the samples in q1 & q3 vorbis- when i click on the links in Mozilla, it opens the file in the window, displaying the files as text. How could i change the html file i've linked them on so that when people click on the links, this won't happen? http://galileo.spaceports.com/~djdij/po/index.html code that works in Mozilla & IE would be handy (its also worth noting that in Mozilla, you dont get that irritating ad window at the bottom of the page) --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.