Choose your location and language.

Galaxy Book4 Edge

Get a guaranteed £50 off when you trade in any device in any condition1

Plus, save 15% when you buy with any Galaxy S25 series smartphone5

A trade in icon is shown

Buying Tool

Device

OS

Memory

Storage

Connectivity

Colour

Screen Size

Processor

Graphic

Add to Wishlist

Add to Wishlist

Fire works video code

Galaxy Book4 Edge Unboxing

${video.title}

`; }) .join(""); }; const changeModalVideo = (url, index) => { const video = document.getElementById("gb4-popup-video"); const hideOnPlay = document.querySelectorAll(".cheil-hide-on-play"); hideOnPlay.forEach((el) => { el.style.display = "none"; }); clearSelected(); document .querySelectorAll(".sub-video-bg>img")[index].classList.add("selected"); video.src = url; fixModalVideoSize(); }; const fixModalVideoSize = (e) => { const video = document.getElementById("gb4-popup-video"); const widthProvider = gb4_popup.querySelector(".main-frame"); if (window.innerWidth < 1440) { video.width = widthProvider.offsetWidth; video.height = widthProvider.offsetWidth * (0.5625 * 3 / 2); } else { video.width = 700; video.height = 394; } const popup = document.querySelector(".bc-popup__content-wrap"); if (popup.clientHeight + 20 > window.innerHeight) { video.height = video.height - (popup.clientHeight - window.innerHeight) * 1.25; } }; const fixCloseButton = () => { gb4_popup .querySelector(".bc-popup__close") .addEventListener("click", (e) => { const video = document.getElementById("gb4-popup-video"); video.src = ""; video.src = "https://www.youtube.com/embed/q66erRNIM8w"; window.sg.components.hubblePdPopup.closePopup(); }); }; const addDestroyThumbnailListener = () => { document .querySelector("#cheil-bc-gb4-videos-popup .main-frame") .addEventListener( "click", function (e) { let video = document.getElementById("gb4-popup-video"); video.src = "https://youtube.com/embed/q66erRNIM8w?&autoplay=1"; console.log(this); this.querySelector("img").style.display = "none"; this.querySelector("svg").style.display = "none"; fixModalVideoSize(); }, { once: true, } ); }; const bannerHTML = (copy, image) => `

Discover More

`; const openPopup = () => { sg.components.hubblePdPopup.openPopup("#cheil-bc-gb4-videos-popup"); document.querySelector( "#cheil-bc-gb4-videos-popup .main-frame img" ).style.display = "block"; document.querySelector( "#cheil-bc-gb4-videos-popup .main-frame svg" ).style.display = "block"; addDestroyThumbnailListener(); clearSelected(); fixModalVideoSize(); // document.querySelectorAll(".sub-video-bg>img")[0].classList.add("selected"); }; function injectBanner() { const banner = bannerHTML( "Get ready to experience next-level productivity and style in one elegant package.", "//images.samsung.com/is/image/samsung/assets/uk/computing/gb4-video-thumbnails/banner_gbe.png" ); document .querySelector("#storage-OPT-018") .insertAdjacentHTML("afterend", banner); } function clearSelected() { document.querySelectorAll(".sub-video-bg>img").forEach((el) => { el.classList.remove("selected"); }); } // populateModalVideos(); fixCloseButton(); injectBanner(); document .querySelector(".s-cheil-guide-btn") .addEventListener("click", openPopup); window.addEventListener("resize", fixModalVideoSize);