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)
Activate the web interface of VideoLAN Client (as described in the documentation of VLC):
- Open VLC
- Click on Tools » Preferences
- Select Show settings » All in the bottom left corner
- Click on Interface » Main interfaces in the menu on the left
- Check the Lua interpreter and Web checkboxes (as seen in the screenshot on the right)
- Make sure the main interface (interface module) is still Default, otherwise you won’t have a GUI for VLC any more
- Click on Lua interpreter in the menu on the left
- Enter http in the textbox labeled Lua interface
- Click Save
Access control
To control VLC from a different device and to have full control:
- Go to the installation directory of VLC (referred to as <DIRECTORY_of_VLC>)
- Either download our provided vlc.zip file [easy]:
- Open the zip file
- Copy the folder lua from the zip file into the directory of VLC
- Make sure that the file is replaced:
- The file may be hidden
- Replace .hosts inside of <DIRECTORY_of_VLC>/lua/http directory
- Or perform the changes manually [advanced]:
- Open the folder lua/http
- Open the file .hosts for editing (may be hidden)
- Find the section private addresses
- Uncomment (remove #-sign) the following lines (lines 14-19) (as seen in the screenshot on the right)
- Save the file
- 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:
- Go to the installation directory of VLC (referred to as <DIRECTORY_of_VLC>)
- Open the file .hosts, inside of <DIRECTORY_of_VLC>/lua/http directory, for edit (the file may be hidden)
- 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)
- 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)
- Save the file (you may need administrator privileges to perform that operation)
- Restart VLC to make sure that the changed configuration is loaded
Installation of web interface before 2.0
Activate the web interface of VideoLAN Client:
- Open VLC
- Click on Tools >> Preferences
- Select Show settings >> All in the bottom left corner
- Click on Interface >> Main interfaces
- Check the HTTP remote control interface checkbox (as seen in the screenshot on the right)
- Make sure the main interface (interface module) is still Default, otherwise you won’t have a GUI for VLC any more
- 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
- Close VLC
- Go to the installation directory of VLC (referred to as <DIRECTORY_of_VLC>)
- Either download our provided vlc.zip file [easy]:
- Open the zip file
- 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:
- Or perform the changes manually [advanced]:
- Open the folder http
- Open the file .hosts for editing (may be hidden)
- Find the section private addresses
- Uncomment (remove #-sign) the following lines (lines 14-19) (as seen in the screenshot on the right)
- Save the file
- Open the directory <DIRECTORY_of_VLC>/http/requests
- Open the file status.xml for editing
- Go to line 103-105
- Look for this:
<vlc id="if" param1="command value 'key' strcmp 0 =" />
<vlc id="rpn" param1="'key-' val value strcat 'VLC_OBJECT_LIBVLC' vlc_var_get key-pressed 'VLC_OBJECT_LIBVLC' vlc_var_set" />
<vlc id="end"/>
- and change it to:
<vlc id="if" param1="command value 'key' strcmp 0 =" />
<vlc id="rpn" param1="'key-' val value strcat vlc_config_get key-pressed 'VLC_OBJECT_LIBVLC' vlc_var_set" />
<vlc id="end"/>
- 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:
- Go to the installation directory of VLC (referred to as <DIRECTORY_of_VLC>)
- Open the file .hosts, inside of <DIRECTORY_of_VLC>/http directory, for edit (the file may be hidden)
- 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)
- 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)
- Save the file (you may need administrator privileges to perform that operation)
- Restart VLC to make sure that the changed configuration is loaded
ALSO READ: 10 Best and Safe Torrent Software for Windows 11.