Media
Add your own images, videos and music.
Images
- Folder:
html/media/ - jpg or webp, ideally under 500 KB
- Add them under
Config.UI.background.image,slideshoworfallback, e.g.'media/my-image.jpg'
Video
- Folder:
html/media/ - webm (VP9) or mp4 (H.264), plays muted in a loop
- Keep it short and small, every player downloads the video while connecting
- Set
mode = 'video'andvideo = 'media/my-video.webm'
Music
- Folder:
html/media/music/ - mp3 or ogg
- Every song is one entry in
tracks:
lua
tracks = {
{ file = 'media/music/song1.ogg', title = 'Song 1', artist = 'Artist' },
{ file = 'media/music/song2.mp3', title = 'Song 2', artist = 'Artist' },
},With more than one song the skip buttons show up. A song that fails to load is skipped.
Only use images, videos and music you have the rights to.
Was this page helpful?
