How to Activate VLC’s Web Interface, Control VLC From a Browser, & Use Any Smartphone as a Remote

how-to-activate-vlc-and-8217;s-web-interface-control-vlc-from-a-browser--and-038;-use-any-smartphone-as-a-remote photo 1

VLC includes a web interface, which you can enable to access your VLC player from a web browser, controlling playback from another device – particularly useful for a media center PC. VLC also offers a mobile web interface for smartphones.

The web interface is turned off and locked down by default – you have to edit the web server’s .hosts file or VLC will disallow all incoming connections from other devices.

Activating the Web Interface

To activate the web interface, click the Tools menu in VLC and select Preferences.

how-to-activate-vlc-and-8217;s-web-interface-control-vlc-from-a-browser--and-038;-use-any-smartphone-as-a-remote photo 2

Click the All option under Show settings to view VLC’s advanced settings. Scroll down in the list of advanced settings and select Main interfaces under the Interface header.

how-to-activate-vlc-and-8217;s-web-interface-control-vlc-from-a-browser--and-038;-use-any-smartphone-as-a-remote photo 3

Click the Web check box to enable the HTTP interface.

how-to-activate-vlc-and-8217;s-web-interface-control-vlc-from-a-browser--and-038;-use-any-smartphone-as-a-remote photo 4

Save your settings and restart VLC. Each time you start VLC, the web server will be started in the background – Windows will prompt you to allow VLC firewall access when you restart it, indicating that the web server is running.

how-to-activate-vlc-and-8217;s-web-interface-control-vlc-from-a-browser--and-038;-use-any-smartphone-as-a-remote photo 5

Click the following link or plug its address into your browser to access the VLC web interface on your local computer: http://localhost:8080/

If you’re using VLC 2.0.1, certain elements of the web interface – the seek bar in particular — may not work properly. This is a bug in version 2.0.1  that isn’t present in 2.0.0 and has been fixed for version 2.0.2. VLC 2.0.0 includes a new web interface that replaces the old one – hopefully it will see more polish in future versions.

how-to-activate-vlc-and-8217;s-web-interface-control-vlc-from-a-browser--and-038;-use-any-smartphone-as-a-remote photo 6

Allowing Remote Access

By default, the web interface is completely locked down – it’s restricted to localhost, which means you can only access it from the machine VLC is running on. You’ll see a 403 Forbidden error page if you try to access VLC’s HTTP server from any other device.

how-to-activate-vlc-and-8217;s-web-interface-control-vlc-from-a-browser--and-038;-use-any-smartphone-as-a-remote photo 7

To allow access from other computers, you’ll have to edit the web interface’s .hosts file. You’ll find this file in different directories on different operating systems:

  • Windows – C:\Program Files (x86)\VideoLAN\VLC\lua\http (use “Program Files” instead of “Program Files (x86)” on 32-bit versions of Windows.)
  • Mac OS X – /Applications/VLC.app/Contents/MacOS/share/lua/http/.hosts
  • Linux – /usr/share/vlc/lua/http/.hosts

how-to-activate-vlc-and-8217;s-web-interface-control-vlc-from-a-browser--and-038;-use-any-smartphone-as-a-remote photo 8

To edit this file on Windows, you’ll have to open Notepad – or another text editor – as Administrator. Browse to the folder mentioned above and select “All Files” in Notepad’s open dialog to view the .hosts file.

how-to-activate-vlc-and-8217;s-web-interface-control-vlc-from-a-browser--and-038;-use-any-smartphone-as-a-remote photo 9

You can uncomment the last two lines (to uncomment a line, remove the # at the beginning of the line) to allow access from all IP addresses, but the file notes this isn’t completely safe. You could also allow a range of IP addresses – or specify the IP address of each other device you want to allow here (add each IP address on a separate line).

how-to-activate-vlc-and-8217;s-web-interface-control-vlc-from-a-browser--and-038;-use-any-smartphone-as-a-remote photo 10

Save the file and restart VLC after making the change.

Using the Web Interface

Plug http://123.456.7.89:8080 into a web browser on an allowed computer or smartphone to view VLC’s web interface. Replace the “123.456.7.89” in the address with the IP address of the computer running VLC.

If you need to find your computer’s IP address, you can use the ipconfig command in a Command Prompt window. Look for the IPv4 Address row under the name of your connection.

how-to-activate-vlc-and-8217;s-web-interface-control-vlc-from-a-browser--and-038;-use-any-smartphone-as-a-remote photo 11


If you also want to access VLC’s web interface over the Internet instead of your local network, you’ll have to forward ports on your router.

Article How to Activate VLC’s Web Interface, Control VLC From a Browser, & Use Any Smartphone as a Remote compiled by Original article here

More stories

Repurpose Old Phones As Intercoms

If you’ve got some old wired telephones laying around for want of a project, this simple hack turns two wired phones into an intercom.

Hack Your Kindle for Easy Font Customization

The font options included with the Kindle are certainly serviceable, but why limit yourself? Today we’ll show you how to easily swap out the font files on your Kindle for a completely customized reading experience.

Expensive HDMI Cables Make No Difference

While we’re no strangers to spreading the news that expensive HDMI cables are a ripoff, we’re happy to share yet another study that shows there’s zero difference between a $5 cable and a $95 one.