Video, music, fonts and the design of the screen
In short
Media is what makes a loading screen feel alive, and it is also what makes one slow. Choose formats the in-game browser plays reliably, keep the files small, and give the player one focal point with text that can be read over it.
| Media | Use | Why |
|---|---|---|
| Video | WebM (VP9/VP8), 1920×1080, 24–30 fps, 10–30 MB, no audio track | H.264 cannot be relied on in FiveM’s browser |
| Images | WebP at display size | Small and sharp |
| Music | MP3, start at volume ~0.3 with a mute button | The loading screen may autoplay with sound |
| Fonts | WOFF2, listed in files, loaded with @font-face | Small and reliable |
| YouTube | Full-screen iframe with autoplay, loop, playlist=VIDEO_ID, controls off | Use videos you own or may embed |
Whatever is bundled in the resource downloads before the screen can appear, which is why a large video belongs on a CDN. As a budget, aim for a few megabytes before the video.
On the design side, a waiting player wants one focal point, readable text, the brand colors and only the information that is useful while waiting.
| Show | How |
|---|---|
| Progress | A bar that never goes backwards, plus a status line |
| Top rules | Three to five lines; full rules behind a tab |
| Tips | 15–40 one-sentence tips, 7–9 seconds each |
| Staff | Small cards with Discord avatars, behind a tab |
| Discord link | A button that opens with invokeNative('openUrl', …) |
| Events | A seasonal theme switched by date |
.bg { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel {
position: fixed; left: 50%; bottom: 8vh; transform: translateX(-50%);
width: min(640px, 90vw); padding: 1.25rem 1.5rem; border-radius: 14px;
background: rgba(8, 8, 12, 0.72); color: #f5f5f7;
}
.panel p { font-size: clamp(14px, 1.1vw, 20px); }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }- Design at 1920×1080 with the important content inside a centered safe area, then test at 1440p and 4K.
- Build panels from solid semi-transparent colors and leave
backdrop-filterblur out. - A live player count needs an HTTPS source you control, because the server’s
/dynamic.jsonis plain HTTP and is blocked. - For several servers, keep one screen and pass per-server convars through handover data.
Go deeper:Video backgrounds on a FiveM loading screen →Using a YouTube video as your loading screen background →Music on a FiveM loading screen: autoplay, volume and mute →Using custom fonts in a FiveM loading screen →Music on your loading screen: copyright and safer choices →Designing a FiveM loading screen that looks professional →Building a FiveM loading screen that fits every resolution →Making a FiveM loading screen accessible →Making a FiveM loading screen fast and light →Showing server rules and key info on the loading screen →A rotating tips carousel for your loading screen →Staff and team sections on a FiveM loading screen →Showing a live player count on your loading screen →Seasonal and event themes for your FiveM loading screen →Running one loading screen across several servers →