mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 11:44:40 +00:00
feat: replace image with mc trailer vid
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 4.3 MiB |
Binary file not shown.
@@ -46,12 +46,19 @@ export function OpenMinecraftServerPopup() {
|
|||||||
let imagecont = document.createElement("div");
|
let imagecont = document.createElement("div");
|
||||||
imagecont.classList.add("whatsnewImgContainer");
|
imagecont.classList.add("whatsnewImgContainer");
|
||||||
|
|
||||||
let img = document.createElement("img");
|
let video = document.createElement("video");
|
||||||
img.src =
|
let source = document.createElement("source");
|
||||||
"https://raw.githubusercontent.com/BetterSEQTA/BetterSEQTA-Plus/main/src/resources/server-image.png";
|
|
||||||
img.classList.add("whatsnewImg");
|
|
||||||
|
|
||||||
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");
|
let textcontainer = document.createElement("div");
|
||||||
textcontainer.classList.add("whatsnewTextContainer");
|
textcontainer.classList.add("whatsnewTextContainer");
|
||||||
|
|||||||
Reference in New Issue
Block a user