<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.videolan.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sd-daken</id>
	<title>VideoLAN Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.videolan.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sd-daken"/>
	<link rel="alternate" type="text/html" href="https://wiki.videolan.org/Special:Contributions/Sd-daken/"/>
	<updated>2026-11-04T18:40:30Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Documentation:Modules/http_intf&amp;diff=22148</id>
		<title>Documentation:Modules/http intf</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Documentation:Modules/http_intf&amp;diff=22148"/>
		<updated>2012-02-26T11:53:47Z</updated>

		<summary type="html">&lt;p&gt;Sd-daken: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Module|name=http|type=Control interface|description=Allows control of VLC over a http connection}}&lt;br /&gt;
The &#039;&#039;&#039;http&#039;&#039;&#039; lua module makes it possible to [[Control VLC via a browser]] interface which can be enabled by going to Settings &amp;gt; Add Interface &amp;gt; Web Interface.&lt;br /&gt;
&lt;br /&gt;
== How to use ==&lt;br /&gt;
To use this interface as the primary interface, launch VLC with the parameter &amp;quot;-I http&amp;quot; or set http to be the primary interface via the preferences (see below for instructions). To launch it as a secondary interface you should launch VLC with the parameter &amp;quot;--extraintf=http&amp;quot; or set http as an extra-interface in the Preferences area mentioned above.&lt;br /&gt;
&lt;br /&gt;
Now, when you start VLC, a web interface will be created and running on your computer on port 8080 (by default, but you can change this yourself). For your information, you can connect to a web server listening on an arbitrary port using http://server:port syntax, so you can test the VLC web interface using this URL: http://127.0.0.1:8080.&lt;br /&gt;
&lt;br /&gt;
If you try to access the web interface from another computer or by using your computer&#039;s IP-address and you get a &#039;&#039;503 Access Denied&#039;&#039; error message, you have to allow access for the IP or IP range first: see [[#Access_control|Access control]] below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following option can be used to specify an IP and a different port on which you want to run the interface.&lt;br /&gt;
===VLC 2.0.0 and later===&lt;br /&gt;
&lt;br /&gt;
  --http-host host&lt;br /&gt;
  --http-port port&lt;br /&gt;
&lt;br /&gt;
  or on Windows platforms:&lt;br /&gt;
  --http-host&#039;&#039;&#039;=&#039;&#039;&#039;host&lt;br /&gt;
  --http-port&#039;&#039;&#039;=&#039;&#039;&#039;port&lt;br /&gt;
&lt;br /&gt;
To enable the http interface as a primary or extra interface, go to Tools -&amp;gt; Preferences (select &amp;quot;All&amp;quot; radiobutton) -&amp;gt; Interface -&amp;gt; Main interfaces -&amp;gt; check &amp;quot;Lua interpreter&amp;quot; -&amp;gt; expand &amp;quot;Main interfaces&amp;quot; -&amp;gt; Select lua -&amp;gt; Type in &amp;quot;http&amp;quot; in &amp;quot;Lua interface field&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===VLC before 2.0.0===&lt;br /&gt;
  --http-host host:port&lt;br /&gt;
&lt;br /&gt;
  or on Windows platforms:&lt;br /&gt;
  --http-host&#039;&#039;&#039;=&#039;&#039;&#039;host:port&lt;br /&gt;
&lt;br /&gt;
To enable the http interface as a primary or extra interface, go to Tools &amp;gt; Preferences &amp;gt; Interface &amp;gt; General &amp;gt; Interface module: http remote control interface. In later versions it might be Tools -&amp;gt; Preferences (select All radiobutton) -&amp;gt; All radio button -&amp;gt; Interface -&amp;gt; Main interfaces -&amp;gt; check HTTP remote control)&lt;br /&gt;
&lt;br /&gt;
== Configure ==&lt;br /&gt;
&lt;br /&gt;
=== Access control ===&lt;br /&gt;
Access control for specific IP adresses or ranges of IP addresses to the http interface can be done globally by editing &amp;quot;/usr/share/vlc/http/.hosts&amp;quot; in Linux, &amp;quot;%PROGRAMFILES%\VideoLAN\VLC\lua\http\.hosts&amp;quot; on Windows and &amp;quot;/Applications/VLC.app/Contents/MacOS/share/lua/http/.hosts&amp;quot; on Mac OS X.&lt;br /&gt;
&lt;br /&gt;
The existing .hosts file contains examples and can easily customized to meet your needs.&lt;br /&gt;
&lt;br /&gt;
 Note that you might need administrator rights to edit this file.&lt;br /&gt;
&lt;br /&gt;
 Note that the global file gets overwritten when/if you reinstall/upgrade VLC.&lt;br /&gt;
 This is solved by some Linux distributions by symlinking the file to /etc.&lt;br /&gt;
 If your distribution does not do this; execute the following as root:&lt;br /&gt;
 mkdir /etc/vlc &amp;amp;&amp;amp; cd /usr/share/vlc/http/ &amp;amp;&amp;amp; mv .hosts /etc/vlc &amp;amp;&amp;amp; ln -s /etc/vlc/.hosts .hosts&lt;br /&gt;
&lt;br /&gt;
=== Customization ===&lt;br /&gt;
It is now also possible to customize the Web interface. See the html pages in share/html (within the VLC directory for Windows, within the VLC.app package on Mac OS X and somewhere in /usr/local for Linux). This can be a very cool interface if you spent some time developing nice UI elements. If you would like to contribute a new &#039;Default&#039; html interface, you are also very welcome (keep it small).&lt;br /&gt;
&lt;br /&gt;
An additional theme has been created (by Lucas Steigmeyer a.k.a. Plezops) specifically for PDA&#039;s or PSP&#039;s in mind. This additonal theme has a grey theme and will fit nicely on most portable versions of web browsers. The theme has the layout reordered to fit the screen better. You may download this theme from [http://www.orrentdesign.com/outsideResources/VLC_Graphite.zip OrrentDesign.com]. A readme file is included. View for install instructions and other info.&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
* On versions of VLC (windows) that are greater than .8 (possibly previous versions, though not confirmed) the HTTP interface index file is stored in the &amp;quot;http&amp;quot; folder in the VLC folder. There are no help files bundled with the download however you may find help files in the online Wiki and how-to, or readme&#039;s.&lt;br /&gt;
* A new http interface is available since 0.8.5. However this new interface does not work on handheld PDA&#039;s running the Windows Mobile OS, it also does not work with JavaScript turned off in your browser. This old interface was available at &amp;lt;nowiki&amp;gt;http://&amp;lt;ip&amp;gt;:&amp;lt;port&amp;gt;/old/&amp;lt;/nowiki&amp;gt; for releases prior to 1.0.0.&lt;br /&gt;
* Since 2.0.0, the HTTP interface has been rewritten from the ground up as a lua plugin with AJAX, and the oldhttp interface no longer exists.&lt;br /&gt;
&lt;br /&gt;
For more information about the HTTP interface, see the document &amp;quot;VLC Play-Howto&amp;quot;, the paragraph [http://videolan.org/doc/play-howto/en/ch04.html#id295619&amp;quot;The HTTP interface&amp;quot;] in chapter 4 (&amp;quot;Advanced use of VLC&amp;quot;) and [[Documentation:Play_HowTo/Building_Pages_for_the_HTTP_Interface|&amp;quot;Building pages for the HTTP interface&amp;quot;]]. [http://videolan.org/doc/play-howto/en/apb.html&amp;quot;See also old/outdated appendix B&amp;quot;].&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Documentation:Play_HowTo/Building_Pages_for_the_HTTP_Interface|Building Pages for the HTTP Interface]] (may be obsolete)&lt;br /&gt;
* [[Interfaces]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Interfaces]]&lt;br /&gt;
&lt;br /&gt;
{{Documentation}}&lt;/div&gt;</summary>
		<author><name>Sd-daken</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Documentation:Modules/http_intf&amp;diff=22147</id>
		<title>Documentation:Modules/http intf</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Documentation:Modules/http_intf&amp;diff=22147"/>
		<updated>2012-02-26T11:48:31Z</updated>

		<summary type="html">&lt;p&gt;Sd-daken: /* Access control */ language, path correction, additional info&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Module|name=http|type=Control interface|description=Allows control of VLC over a http connection}}&lt;br /&gt;
The &#039;&#039;&#039;http&#039;&#039;&#039; lua module allows makes it possible to [[Control VLC via a browser]] via an extra interface which can be enabled by going to Settings &amp;gt; Add Interface &amp;gt; Web Interface.&lt;br /&gt;
&lt;br /&gt;
== How to use ==&lt;br /&gt;
To use this interface as the primary interface, launch VLC with the parameter &amp;quot;-I http&amp;quot; or set http to be the primary interface via the preferences (see below for instructions). To launch it as a secondary interface you should launch VLC with the parameter &amp;quot;--extraintf=http&amp;quot; or set http as an extra-interface in the Preferences area mentioned above.&lt;br /&gt;
&lt;br /&gt;
Now, when you start VLC, a web interface will be created and running on your computer on port 8080 (by default, but you can change this yourself). For your information, you can connect to a web server listening on an arbitrary port using http://server:port syntax, so you can test the VLC web interface using this URL: http://127.0.0.1:8080.&lt;br /&gt;
&lt;br /&gt;
If you try to access the web interface from another computer or by using your computer&#039;s IP-address and you get a &#039;&#039;503 Access Denied&#039;&#039; error message, you have to allow access for the IP or IP range first: see [[#Access_control|Access control]] below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following option can be used to specify an IP and a different port on which you want to run the interface.&lt;br /&gt;
===VLC 2.0.0 and later===&lt;br /&gt;
&lt;br /&gt;
  --http-host host&lt;br /&gt;
  --http-port port&lt;br /&gt;
&lt;br /&gt;
  or on Windows platforms:&lt;br /&gt;
  --http-host&#039;&#039;&#039;=&#039;&#039;&#039;host&lt;br /&gt;
  --http-port&#039;&#039;&#039;=&#039;&#039;&#039;port&lt;br /&gt;
&lt;br /&gt;
To enable the http interface as a primary or extra interface, go to Tools -&amp;gt; Preferences (select &amp;quot;All&amp;quot; radiobutton) -&amp;gt; Interface -&amp;gt; Main interfaces -&amp;gt; check &amp;quot;Lua interpreter&amp;quot; -&amp;gt; expand &amp;quot;Main interfaces&amp;quot; -&amp;gt; Select lua -&amp;gt; Type in &amp;quot;http&amp;quot; in &amp;quot;Lua interface field&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===VLC before 2.0.0===&lt;br /&gt;
  --http-host host:port&lt;br /&gt;
&lt;br /&gt;
  or on Windows platforms:&lt;br /&gt;
  --http-host&#039;&#039;&#039;=&#039;&#039;&#039;host:port&lt;br /&gt;
&lt;br /&gt;
To enable the http interface as a primary or extra interface, go to Tools &amp;gt; Preferences &amp;gt; Interface &amp;gt; General &amp;gt; Interface module: http remote control interface. In later versions it might be Tools -&amp;gt; Preferences (select All radiobutton) -&amp;gt; All radio button -&amp;gt; Interface -&amp;gt; Main interfaces -&amp;gt; check HTTP remote control)&lt;br /&gt;
&lt;br /&gt;
== Configure ==&lt;br /&gt;
&lt;br /&gt;
=== Access control ===&lt;br /&gt;
Access control for specific IP adresses or ranges of IP addresses to the http interface can be done globally by editing &amp;quot;/usr/share/vlc/http/.hosts&amp;quot; in Linux, &amp;quot;%PROGRAMFILES%\VideoLAN\VLC\lua\http\.hosts&amp;quot; on Windows and &amp;quot;/Applications/VLC.app/Contents/MacOS/share/lua/http/.hosts&amp;quot; on Mac OS X.&lt;br /&gt;
&lt;br /&gt;
The existing .hosts file contains examples and can easily customized to meet your needs.&lt;br /&gt;
&lt;br /&gt;
 Note that you might need administrator rights to edit this file.&lt;br /&gt;
&lt;br /&gt;
 Note that the global file gets overwritten when/if you reinstall/upgrade VLC.&lt;br /&gt;
 This is solved by some Linux distributions by symlinking the file to /etc.&lt;br /&gt;
 If your distribution does not do this; execute the following as root:&lt;br /&gt;
 mkdir /etc/vlc &amp;amp;&amp;amp; cd /usr/share/vlc/http/ &amp;amp;&amp;amp; mv .hosts /etc/vlc &amp;amp;&amp;amp; ln -s /etc/vlc/.hosts .hosts&lt;br /&gt;
&lt;br /&gt;
=== Customization ===&lt;br /&gt;
It is now also possible to customize the Web interface. See the html pages in share/html (within the VLC directory for Windows, within the VLC.app package on Mac OS X and somewhere in /usr/local for Linux). This can be a very cool interface if you spent some time developing nice UI elements. If you would like to contribute a new &#039;Default&#039; html interface, you are also very welcome (keep it small).&lt;br /&gt;
&lt;br /&gt;
An additional theme has been created (by Lucas Steigmeyer a.k.a. Plezops) specifically for PDA&#039;s or PSP&#039;s in mind. This additonal theme has a grey theme and will fit nicely on most portable versions of web browsers. The theme has the layout reordered to fit the screen better. You may download this theme from [http://www.orrentdesign.com/outsideResources/VLC_Graphite.zip OrrentDesign.com]. A readme file is included. View for install instructions and other info.&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
* On versions of VLC (windows) that are greater than .8 (possibly previous versions, though not confirmed) the HTTP interface index file is stored in the &amp;quot;http&amp;quot; folder in the VLC folder. There are no help files bundled with the download however you may find help files in the online Wiki and how-to, or readme&#039;s.&lt;br /&gt;
* A new http interface is available since 0.8.5. However this new interface does not work on handheld PDA&#039;s running the Windows Mobile OS, it also does not work with JavaScript turned off in your browser. This old interface was available at &amp;lt;nowiki&amp;gt;http://&amp;lt;ip&amp;gt;:&amp;lt;port&amp;gt;/old/&amp;lt;/nowiki&amp;gt; for releases prior to 1.0.0.&lt;br /&gt;
* Since 2.0.0, the HTTP interface has been rewritten from the ground up as a lua plugin with AJAX, and the oldhttp interface no longer exists.&lt;br /&gt;
&lt;br /&gt;
For more information about the HTTP interface, see the document &amp;quot;VLC Play-Howto&amp;quot;, the paragraph [http://videolan.org/doc/play-howto/en/ch04.html#id295619&amp;quot;The HTTP interface&amp;quot;] in chapter 4 (&amp;quot;Advanced use of VLC&amp;quot;) and [[Documentation:Play_HowTo/Building_Pages_for_the_HTTP_Interface|&amp;quot;Building pages for the HTTP interface&amp;quot;]]. [http://videolan.org/doc/play-howto/en/apb.html&amp;quot;See also old/outdated appendix B&amp;quot;].&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Documentation:Play_HowTo/Building_Pages_for_the_HTTP_Interface|Building Pages for the HTTP Interface]] (may be obsolete)&lt;br /&gt;
* [[Interfaces]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Interfaces]]&lt;br /&gt;
&lt;br /&gt;
{{Documentation}}&lt;/div&gt;</summary>
		<author><name>Sd-daken</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Documentation:Modules/http_intf&amp;diff=22146</id>
		<title>Documentation:Modules/http intf</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Documentation:Modules/http_intf&amp;diff=22146"/>
		<updated>2012-02-26T11:36:50Z</updated>

		<summary type="html">&lt;p&gt;Sd-daken: /* How to use */  503 error&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Module|name=http|type=Control interface|description=Allows control of VLC over a http connection}}&lt;br /&gt;
The &#039;&#039;&#039;http&#039;&#039;&#039; lua module allows makes it possible to [[Control VLC via a browser]] via an extra interface which can be enabled by going to Settings &amp;gt; Add Interface &amp;gt; Web Interface.&lt;br /&gt;
&lt;br /&gt;
== How to use ==&lt;br /&gt;
To use this interface as the primary interface, launch VLC with the parameter &amp;quot;-I http&amp;quot; or set http to be the primary interface via the preferences (see below for instructions). To launch it as a secondary interface you should launch VLC with the parameter &amp;quot;--extraintf=http&amp;quot; or set http as an extra-interface in the Preferences area mentioned above.&lt;br /&gt;
&lt;br /&gt;
Now, when you start VLC, a web interface will be created and running on your computer on port 8080 (by default, but you can change this yourself). For your information, you can connect to a web server listening on an arbitrary port using http://server:port syntax, so you can test the VLC web interface using this URL: http://127.0.0.1:8080.&lt;br /&gt;
&lt;br /&gt;
If you try to access the web interface from another computer or by using your computer&#039;s IP-address and you get a &#039;&#039;503 Access Denied&#039;&#039; error message, you have to allow access for the IP or IP range first: see [[#Access_control|Access control]] below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following option can be used to specify an IP and a different port on which you want to run the interface.&lt;br /&gt;
===VLC 2.0.0 and later===&lt;br /&gt;
&lt;br /&gt;
  --http-host host&lt;br /&gt;
  --http-port port&lt;br /&gt;
&lt;br /&gt;
  or on Windows platforms:&lt;br /&gt;
  --http-host&#039;&#039;&#039;=&#039;&#039;&#039;host&lt;br /&gt;
  --http-port&#039;&#039;&#039;=&#039;&#039;&#039;port&lt;br /&gt;
&lt;br /&gt;
To enable the http interface as a primary or extra interface, go to Tools -&amp;gt; Preferences (select &amp;quot;All&amp;quot; radiobutton) -&amp;gt; Interface -&amp;gt; Main interfaces -&amp;gt; check &amp;quot;Lua interpreter&amp;quot; -&amp;gt; expand &amp;quot;Main interfaces&amp;quot; -&amp;gt; Select lua -&amp;gt; Type in &amp;quot;http&amp;quot; in &amp;quot;Lua interface field&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===VLC before 2.0.0===&lt;br /&gt;
  --http-host host:port&lt;br /&gt;
&lt;br /&gt;
  or on Windows platforms:&lt;br /&gt;
  --http-host&#039;&#039;&#039;=&#039;&#039;&#039;host:port&lt;br /&gt;
&lt;br /&gt;
To enable the http interface as a primary or extra interface, go to Tools &amp;gt; Preferences &amp;gt; Interface &amp;gt; General &amp;gt; Interface module: http remote control interface. In later versions it might be Tools -&amp;gt; Preferences (select All radiobutton) -&amp;gt; All radio button -&amp;gt; Interface -&amp;gt; Main interfaces -&amp;gt; check HTTP remote control)&lt;br /&gt;
&lt;br /&gt;
== Configure ==&lt;br /&gt;
&lt;br /&gt;
=== Access control ===&lt;br /&gt;
Access control - specific IPs or ranges of IP addresses - to the http interface can be done globally by editing &amp;quot;/usr/share/vlc/http/.hosts&amp;quot; in Linux (&amp;quot;%PROGRAMFILES%\VideoLAN\VLC\http\.hosts&amp;quot; on Windows, /Applications/VLC.app/Contents/MacOS/share/lua/http/.hosts on Mac OS X).&lt;br /&gt;
 Note that the global file gets overwritten when/if you reinstall/upgrade VLC.&lt;br /&gt;
 This is solved by some Linux distributions by symlinking the file to /etc.&lt;br /&gt;
 If your distribution does not do this; execute the following as root:&lt;br /&gt;
 mkdir /etc/vlc &amp;amp;&amp;amp; cd /usr/share/vlc/http/ &amp;amp;&amp;amp; mv .hosts /etc/vlc &amp;amp;&amp;amp; ln -s /etc/vlc/.hosts .hosts&lt;br /&gt;
&lt;br /&gt;
=== Customization ===&lt;br /&gt;
It is now also possible to customize the Web interface. See the html pages in share/html (within the VLC directory for Windows, within the VLC.app package on Mac OS X and somewhere in /usr/local for Linux). This can be a very cool interface if you spent some time developing nice UI elements. If you would like to contribute a new &#039;Default&#039; html interface, you are also very welcome (keep it small).&lt;br /&gt;
&lt;br /&gt;
An additional theme has been created (by Lucas Steigmeyer a.k.a. Plezops) specifically for PDA&#039;s or PSP&#039;s in mind. This additonal theme has a grey theme and will fit nicely on most portable versions of web browsers. The theme has the layout reordered to fit the screen better. You may download this theme from [http://www.orrentdesign.com/outsideResources/VLC_Graphite.zip OrrentDesign.com]. A readme file is included. View for install instructions and other info.&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
* On versions of VLC (windows) that are greater than .8 (possibly previous versions, though not confirmed) the HTTP interface index file is stored in the &amp;quot;http&amp;quot; folder in the VLC folder. There are no help files bundled with the download however you may find help files in the online Wiki and how-to, or readme&#039;s.&lt;br /&gt;
* A new http interface is available since 0.8.5. However this new interface does not work on handheld PDA&#039;s running the Windows Mobile OS, it also does not work with JavaScript turned off in your browser. This old interface was available at &amp;lt;nowiki&amp;gt;http://&amp;lt;ip&amp;gt;:&amp;lt;port&amp;gt;/old/&amp;lt;/nowiki&amp;gt; for releases prior to 1.0.0.&lt;br /&gt;
* Since 2.0.0, the HTTP interface has been rewritten from the ground up as a lua plugin with AJAX, and the oldhttp interface no longer exists.&lt;br /&gt;
&lt;br /&gt;
For more information about the HTTP interface, see the document &amp;quot;VLC Play-Howto&amp;quot;, the paragraph [http://videolan.org/doc/play-howto/en/ch04.html#id295619&amp;quot;The HTTP interface&amp;quot;] in chapter 4 (&amp;quot;Advanced use of VLC&amp;quot;) and [[Documentation:Play_HowTo/Building_Pages_for_the_HTTP_Interface|&amp;quot;Building pages for the HTTP interface&amp;quot;]]. [http://videolan.org/doc/play-howto/en/apb.html&amp;quot;See also old/outdated appendix B&amp;quot;].&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Documentation:Play_HowTo/Building_Pages_for_the_HTTP_Interface|Building Pages for the HTTP Interface]] (may be obsolete)&lt;br /&gt;
* [[Interfaces]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Interfaces]]&lt;br /&gt;
&lt;br /&gt;
{{Documentation}}&lt;/div&gt;</summary>
		<author><name>Sd-daken</name></author>
	</entry>
</feed>