Documentation:Modules/http intf

From VideoLAN Wiki
Jump to navigation Jump to search

VLC can be controlled via a web browser.

To use this interface as the primary interface, launch vlc with the parameter -I http or set http to be the primary interface via the preferences. To launch it as a secondary interface you should launch vlc with the parameter --extraintf=http or set http as an extra-interface in the preferences.

Now when you start VLC, a web interface will be created on port 8080. The options --http-addr and --http-port can be used to specify an IP and the port on which you want to run the interface.

The web interface is customizable. This can be a very cool interface if you spend some time developing nice UI elements. If you would like to contribute a new 'Default' html interface, you are also very welcome (keep it small). Note: A new http interface is in the works for 0.8.5. You can give it a try using a Nightly Build. Instructions on how to customize teh web interface can be found in the html pages in share/html. On Windows this is in the within the VLC directory. On Mac OS X this can be found in the VLC.app package. On linux it is somewhere in /usr/local for Linux.

For more information about the HTTP interface, see the document "VLC Play-Howto", the paragraph "The HTTP interface" in chapter 4 ("Advanced use of VLC") and appendix B "Building pages for the HTTP interface".


Related topic

Additional Interfaces

On versions of VLC (windows) that are greater than .8 the HTTP interface index file is stored in the "http" folder in the VLC folder. There are no help files bundled with the download.