# Configuration

## Config Setup

In order to edit the config, navigate to `web/src/config.js`.

Currently, the script has 2 ways of playing a video, from YouTube or from a file.

To play the video from a local file, you have to set the config as follows:

<pre class="language-markdown"><code class="lang-markdown"><strong>EX.YTVid = false
</strong></code></pre>

Add your video inside the assets folder and name it `video.mp4`.

If you want the video to be played from YouTube, set the config as follows:

```javascript
EX.YTVid = true
EX.VidID = 'kZI1zPZU1O8' // YouTube video ID
```

### Other Configurations

```javascript
EX.MainColor = '#aa1313'; // Main color for UI elements
EX.BoxTopLeftCornerColor = '#df0808'; // Color for top left corner of boxes
EX.BoxBottomRightCornerColor = '#420000'; // Color for bottom right corner of boxes

EX.Music = {
    1: {
        songfile: 'e4n.mp3', // File name of the first song
        songtitle: 'E4N', // Title of the first song
        songartist: 'DD Osama', // Artist of the first song
        songcover: 'e4n.png' // Cover image file name for the song
    },
    2: {
        songfile: '42d.mp3', // File name of the second song
        songtitle: 'SpinDatBac', // Title of the second song
        songartist: '42 Dugg', // Artist of the second song
        songcover: '42d.png' // Cover image file name for the song
    }
};
```
