[vlc-devel] Re: vlc: svn commit r8930 (hartman)

Derk-Jan Hartman hartman at videolan.org
Wed Oct 6 14:16:10 CEST 2004


Some context to this:

I propose to use application/x-videolan-vlc as official mimetype for 
the vlc application. The x- is needed because the mime isn't officially 
recognized as our MIME by the W3C (or whatever organisation handles 
registration of those). We recognise the format without x- to tackle 
backwardscompatibility IF the MIME is every officially recognized.
The MIMEtype can be useful for forcing browser to open files with VLC.

we already use x-vlc-plugin for the Mozilla plugin btw.
If people think this is inconsistent, then I would like to say that 
it's good to use an organisation name in combination with the 
application name to ensure uniqueness. I'd personally rather see the 
plugin mime changed than the application mime.
Notice that this way you can force something on a webpage to use the 
VLC mozilla plugin, or to open in the VLC player.

The .vlc extension has the same effect, though I advise (if possible) 
not to use that to force the VLC application, since it might confuse 
users and other applications. .vlc is not a proprietary fileformat for 
VLC, it is simply a file extension that it will recognize as being for 
VLC.
Every file that VLC recognizes can use the .vlc extension since VLC 
mostly does autodetection on files (fails rarely). However turning a 
.mpg file into .vlc might cause WMP and other applications to not 
understand that they CAN open this file as well.

This was done primarily for Trax so he can force the usage of VLC on 
his specially crafted m3u files for UDP streams. (Automatically sets 
deinterlacing)

DJ

P.S. Does anyone know how to register an application MIMEtype in the 
windows registry?
Please add that to the NSIS file in that case. For both plugin and 
application.


On 06 okt 2004, at 13:21, Subversion daemon wrote:

> r8930 | hartman | 2004-10-06 13:21:38 +0200 (Wed, 06 Oct 2004) | 4 
> lines
> Changed paths:
>    M /trunk/NEWS
>    M /trunk/extras/MacOSX/vlc.pbproj/project.pbxproj
>    M /trunk/vlc.win32.nsi
>
> * added the .vlc fileextension to the win installer and the Mac app.
> * Added the application/x-videolan-vlc and appllication/videolan-vlc 
> mimetype to the OSX app
> * NEWS: spelling error and remove the 'this version is not yet 
> released' line. Before I forget :)
>
> -- 
> This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://developers.videolan.org/lists.html
>
>
---
Universiteit Twente
Derk-Jan Hartman (d.hartman at student.utwente dot nl)
http://home.student.utwente.nl/d.hartman

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list