# How to activate VLC's web interface

Needed for the VLC presence to work.

### Open VLC and go to `Tools->Preferences`

![image](https://i.imgur.com/HIb5MJj.png)

### Show `All` settings

![image](https://i.imgur.com/yYPWg8Q.png)

### Select `Main interfaces` on the left, and tick the `Web` checkbox on the right

![image](https://i.imgur.com/d17K5d5.png)

### Search for `lua` in VLC preferences dialog

![image](https://i.imgur.com/KPShZWi.png)

### Set a password for `Lua HTTP` there (remember it)

![image](https://i.imgur.com/Z8GrIiw.png)

### Restart VLC, then go to http://localhost:8080 **( THE PORT MUST BE 8080! )** and enter the password you've set before **( leave the username field blank )**

![image](https://i.imgur.com/P6gHWxG.png)

### Done, don't forget to keep the page open (better pin it too)

![image](https://i.imgur.com/TWeLbfD.png)

_This MD file is an edit of [another one](https://github.com/azrafe7/vlc4youtube/blob/master/instructions/how-to-enable-vlc-web-interface.md) originally meant for a different purpose, but was slightly modified to work for PreMiD. Thanks to them though_
