This article covers the installation of the web interface for VLC versions below 2.1 (Rincewind), required by the app VLC Super Duper Remote.

Installation of web interface for 2.0 (Twoflower)

Enable web interface of VLC 2.0

Activate the web interface of VideoLAN Client (as described in the documentation of VLC):

  1. Open VLC
  2. Click on Tools » Preferences
  3. Select Show settings » All in the bottom left corner
  4. Click on Interface » Main interfaces in the menu on the left
  5. Check the Lua interpreter and Web checkboxes (as seen in the screenshot on the right)
  6. Make sure the main interface (interface module) is still Default, otherwise you won’t have a GUI for VLC any more
  7. Click on Lua interpreter in the menu on the left
  8. Enter http in the textbox labeled Lua interface
  9. Click Save

Access control

To control VLC from a different device and to have full control:

Edit .hosts file to allow network connection
  1. Go to the installation directory of VLC (referred to as <DIRECTORY_of_VLC>)
  2. Either download our provided vlc.zip file [easy]:
    1. Open the zip file
    2. Copy the folder lua from the zip file into the directory of VLC
    3. Make sure that the file is replaced:
      • The file may be hidden
      • Replace .hosts inside of <DIRECTORY_of_VLC>/lua/http directory
  3. Or perform the changes manually [advanced]:
    1. Open the folder lua/http
    2. Open the file .hosts for editing (may be hidden)
    3. Find the section private addresses
    4. Uncomment (remove #-sign) the following lines (lines 14-19) (as seen in the screenshot on the right)
    5. Save the file
  4. Restart VLC to make sure that the changed configuration is loaded

Adjust web interface for 3G/4G

To connect to VLC via 3G or 4G, you have to make additional changes to the .hosts file:

  1. Go to the installation directory of VLC (referred to as <DIRECTORY_of_VLC>)
  2. Open the file .hosts, inside of <DIRECTORY_of_VLC>/lua/http directory, for edit (the file may be hidden)
  3. Either add your mobile device’s external IP address (while using 3G/4G) [easy]:
    • Open a browser on your mobile device
    • Go to What Is My IP Address to detect the external IP address of the mobile device
    • Inside the .hosts file of VLC, enter that IP address of your mobile device (e.g. 123.123.123.123)
  4. Or add your ISP’s entire network (while using 3G/4G) [advanced]:
    • Open a browser on your mobile device
    • Go to Hurricane Electric BGP Toolkit to detect the class of your mobile device’s external IP address (most likely it’s class B)
    • Inside the .hosts file of VLC, enter this network subnet (e.g. 123.123.0.0/16)
  5. Save the file (you may need administrator privileges to perform that operation)
  6. Restart VLC to make sure that the changed configuration is loaded

Installation of web interface before 2.0

Enable web interface of VLC before 2.0

Activate the web interface of VideoLAN Client:

  1. Open VLC
  2. Click on Tools >> Preferences
  3. Select Show settings >> All in the bottom left corner
  4. Click on Interface >> Main interfaces
  5. Check the HTTP remote control interface checkbox (as seen in the screenshot on the right)
  6. Make sure the main interface (interface module) is still Default, otherwise you won’t have a GUI for VLC any more
  7. Click Save

ALSO READ: Download Cisco AnyConnect VPN Client for PC in Latest Release.

Access control

To control VLC from a different device and to have full control

Edit .hosts file to allow network connection
  1. Close VLC
  2. Go to the installation directory of VLC (referred to as <DIRECTORY_of_VLC>)
  3. Either download our provided vlc.zip file [easy]:
    1. Open the zip file
    2. Copy the folder http from the zip file into the directory of VLC
      • The files may be hidden
      • Replace .hosts inside of <DIRECTORY_of_VLC>/http directory
      • Replace status.xml inside of <DIRECTORY_of_VLC>/http/requests directoryMake sure that all folders and files are replaced:
  4. Or perform the changes manually [advanced]:
    1. Open the folder http
    2. Open the file .hosts for editing (may be hidden)
    3. Find the section private addresses
    4. Uncomment (remove #-sign) the following lines (lines 14-19) (as seen in the screenshot on the right)
    5. Save the file
    6. Open the directory <DIRECTORY_of_VLC>/http/requests
    7. Open the file status.xml for editing
    8. Go to line 103-105
    9. Look for this:
    1.  <vlc id="if" param1="command value 'key' strcmp 0 =" />
    2.     <vlc id="rpn" param1="'key-' val value strcat 'VLC_OBJECT_LIBVLC' vlc_var_get key-pressed 'VLC_OBJECT_LIBVLC' vlc_var_set" />
    3.  <vlc id="end"/>
    and change it to:
    1.  <vlc id="if" param1="command value 'key' strcmp 0 =" />
    2.     <vlc id="rpn" param1="'key-' val value strcat vlc_config_get key-pressed 'VLC_OBJECT_LIBVLC' vlc_var_set" />
    3.  <vlc id="end"/>
  5. Restart VLC to make sure that the changed configuration is loaded

Adjust web interface for 3G/4G

To connect to VLC via 3G or 4G, you have to make additional changes to the .hosts file:

  1. Go to the installation directory of VLC (referred to as <DIRECTORY_of_VLC>)
  2. Open the file .hosts, inside of <DIRECTORY_of_VLC>/http directory, for edit (the file may be hidden)
  3. Either add your mobile device’s external IP address (while using 3G/4G) [easy]:
    • Open a browser on your mobile device
    • Go to What Is My IP Address to detect the external IP address of the mobile device
    • Inside the .hosts file of VLC, enter the IP address of your mobile device (e.g. 123.123.123.123)
  4. Or add your ISP’s entire network (while using 3G/4G) [advanced]:
    • Open a browser on your mobile device
    • Go to Hurricane Electric BGP Toolkit to detect the class of your mobile device’s external IP address (most likely it’s class B)
    • Inside the .hosts file of VLC, enter this network subnet (e.g. 123.123.0.0/16)
  5. Save the file (you may need administrator privileges to perform that operation)
  6. Restart VLC to make sure that the changed configuration is loaded

ALSO READ: 10 Best and Safe Torrent Software for Windows 11.

Previous articleVLC Super Duper Remote 2.03 [UPDATE]
Next article12 Worthy Hamachi Alternatives in 2024 – Virtual LAN Gaming
Lee White
Lee is currently a full-time writer at DekiSoft that is eager to discover new and exciting advancements in Technology, Software, Linux and Cyber Security. Lee has spent the past 18 years working as an Systems Engineer providing support for various operating systems and networks. When not at his desk or writing, you will find him tinkering with retro tech.

Leave A Reply

Please enter your comment!
Please enter your name here