feat: replace image with mc trailer vid

This commit is contained in:
Jones8683
2025-08-05 17:50:07 +09:30
parent 58b1a70cc9
commit 3fb70f280a
3 changed files with 12 additions and 5 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 MiB

Binary file not shown.
+12 -5
View File
@@ -46,12 +46,19 @@ export function OpenMinecraftServerPopup() {
let imagecont = document.createElement("div");
imagecont.classList.add("whatsnewImgContainer");
let img = document.createElement("img");
img.src =
"https://raw.githubusercontent.com/BetterSEQTA/BetterSEQTA-Plus/main/src/resources/server-image.png";
img.classList.add("whatsnewImg");
let video = document.createElement("video");
let source = document.createElement("source");
imagecont.appendChild(img);
source.setAttribute(
"src",
"https://raw.githubusercontent.com/Jones8683/BetterSEQTA-Plus/main/src/resources/server-video.mp4",
);
video.autoplay = true;
video.muted = true;
video.loop = true;
video.appendChild(source);
video.classList.add("whatsnewImg");
imagecont.appendChild(video);
let textcontainer = document.createElement("div");
textcontainer.classList.add("whatsnewTextContainer");