Skip to content

News (MP4 & YouTube)

The NEWS section displays video content: local MP4 videos (playable directly in the loading screen) or YouTube videos (which open in the external browser). It's all configured via the news object.

js
news: {
    title: "NEWS",
    youtubeChannel: false, // or your channel URL for a "Subscribe" button
    elements: [
        {
            mp4: "weazel_news_ep16.mp4",
            title: "Weazel News Ep. 16",
            date: "09/02/2026",
        },
        {
            youtubeUrl: "https://www.youtube.com/watch?v=hGFesB5op34",
            date: "12/10/2025",
        },
        // ...
    ],
},

Global options

FieldDescription
titleSection title
youtubeChannelfalse, or your YouTube channel URL to show a "Subscribe" button
elementsArray of video items

Two element types

Option A — Local MP4 video

Playable directly in the loading screen, with its own player (play/pause, clickable progress bar).

js
{
    mp4: "weazel_news_ep16.mp4", // file in config/news_video/
    title: "Weazel News Ep. 16",
    date: "09/02/2026",
},
FieldDescription
mp4Video file name, located in config/news_video/
title(optional) Title shown above the video
date(optional) Date shown as a separator

Option B — YouTube video

Shows a thumbnail; on click, the video opens in the player's external browser (via openUrl).

js
{
    youtubeUrl: "https://www.youtube.com/watch?v=hGFesB5op34",
    date: "12/10/2025",
},
FieldDescription
youtubeUrlFull YouTube video URL
title(optional) Title shown
date(optional) Date shown as a separator

Supported YouTube URL formats:

  • https://www.youtube.com/watch?v=VIDEO_ID
  • https://youtu.be/VIDEO_ID
  • https://www.youtube.com/shorts/VIDEO_ID

NOTE

The thumbnail is fetched automatically from YouTube using the video ID.

Add a video

MP4: drop the file into config/news_video/ then add { mp4, title, date }. The config/news_video/*.mp4 pattern in fxmanifest.lua already covers new files.

YouTube: simply add { youtubeUrl, date } — no file to drop.