feat: new update video

This commit is contained in:
SethBurkart123
2025-06-25 09:13:19 +10:00
parent 964a026e7a
commit 404d3c02f3
2 changed files with 4 additions and 4 deletions
Binary file not shown.
+4 -4
View File
@@ -41,7 +41,7 @@ export function OpenWhatsNewPopup() {
let imagecont = document.createElement("div"); let imagecont = document.createElement("div");
imagecont.classList.add("whatsnewImgContainer"); imagecont.classList.add("whatsnewImgContainer");
/* let video = document.createElement("video"); let video = document.createElement("video");
let source = document.createElement("source"); let source = document.createElement("source");
source.setAttribute( source.setAttribute(
@@ -53,13 +53,13 @@ export function OpenWhatsNewPopup() {
video.loop = true; video.loop = true;
video.appendChild(source); video.appendChild(source);
video.classList.add("whatsnewImg"); video.classList.add("whatsnewImg");
imagecont.appendChild(video); */ imagecont.appendChild(video);
let whatsnewimg = document.createElement("img"); /* let whatsnewimg = document.createElement("img");
//whatsnewimg.src = "https://raw.githubusercontent.com/BetterSEQTA/BetterSEQTA-Plus/main/src/resources/update-image.webp"; //whatsnewimg.src = "https://raw.githubusercontent.com/BetterSEQTA/BetterSEQTA-Plus/main/src/resources/update-image.webp";
whatsnewimg.src = browser.runtime.getURL('../../resources/update-image.webp'); whatsnewimg.src = browser.runtime.getURL('../../resources/update-image.webp');
whatsnewimg.classList.add("whatsnewImg"); whatsnewimg.classList.add("whatsnewImg");
imagecont.appendChild(whatsnewimg); imagecont.appendChild(whatsnewimg); */
let textcontainer = document.createElement("div"); let textcontainer = document.createElement("div");
textcontainer.classList.add("whatsnewTextContainer"); textcontainer.classList.add("whatsnewTextContainer");