<div class="separator" style="clear: both;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirOfg65rG-RCRCblwEZtCfo2MWAtyX-7wW1nPNAOY2RQd7EWdkQVITO2S8LtlgyulKmhc_fN_570ABsXJ7-oxqnvEr2wSB28RrRwxXeodf2JLb-XCvHziJWhsVIxdLRzgdEdcH1pFX-CXTS2bM7bSMjLAFtply3YngiHqnityEY_1Mi83CTMmTsaNvBSGj/s886/Melanie%20Martinez%20-%20Play%20Date.png" style="display: block; padding: 1em 0px; text-align: center;"></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirOfg65rG-RCRCblwEZtCfo2MWAtyX-7wW1nPNAOY2RQd7EWdkQVITO2S8LtlgyulKmhc_fN_570ABsXJ7-oxqnvEr2wSB28RrRwxXeodf2JLb-XCvHziJWhsVIxdLRzgdEdcH1pFX-CXTS2bM7bSMjLAFtply3YngiHqnityEY_1Mi83CTMmTsaNvBSGj/s886/Melanie%20Martinez%20-%20Play%20Date.png" style="display: block; padding: 1em 0px; text-align: center;"><img alt="" border="0" data-original-height="886" data-original-width="886" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirOfg65rG-RCRCblwEZtCfo2MWAtyX-7wW1nPNAOY2RQd7EWdkQVITO2S8LtlgyulKmhc_fN_570ABsXJ7-oxqnvEr2wSB28RrRwxXeodf2JLb-XCvHziJWhsVIxdLRzgdEdcH1pFX-CXTS2bM7bSMjLAFtply3YngiHqnityEY_1Mi83CTMmTsaNvBSGj/s400/Melanie%20Martinez%20-%20Play%20Date.png" width="400" /></a></div> <style> .popup-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999; display: flex; align-items: center; justify-content: center; background-color: rgba(0, 0, 0, 0.8); opacity: 0; pointer-events: none; transition: opacity 0.3s ease; } .popup-container.show { opacity: 1; pointer-events: auto; } .close-button { position: absolute; top: 30px; right: 30px; color: #ffffff; cursor: pointer; font-size: 25px; } .video-container { position: relative; width: 80%; max-width: 800px; margin: 0 auto; } .video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .play-button { display: flex; align-items: center; justify-content: center; width: fit-content; height: 40px; background-color: #4caf50; color: #ffffff; border: none; border-radius: 5px; font-size: 16px; cursor: pointer; } .play-button svg { width: 20px; height: 20px; margin-right: 8px; } @media only screen and (max-width: 768px) { .video-container { width: 90%; padding-top: 56.25%; /* 16:9 aspect ratio */ } } @media only screen and (min-width: 769px) and (max-width: 1024px) { .video-container { width: 700px; height: 393.75px; /* 16:9 aspect ratio */ } } @media only screen and (min-width: 1025px) { .video-container { width: 800px; height: 450px; /* 16:9 aspect ratio */ } } </style> <button class="play-button" id="popup-button"> <svg viewbox="0 0 24 24"> <path d="M8,5.14V19.14L19,12.14L8,5.14Z" fill="#ffffff"></path> </svg> PLAY VIDEO </button> <div class="popup-container" id="popup-container"> <div style="text-align: left;"><span class="close-button" onclick="closePopup()">X</span></div> <div class="video-container"> <iframe allowfullscreen="" frameborder="0" id="drive-iframe" src=""></iframe> </div> </div> <script> function openPopup(driveId) { var popupContainer = document.getElementById('popup-container'); var driveIframe = document.getElementById('drive-iframe'); driveIframe.src = "https://drive.google.com/file/d/" + driveId + "/preview"; popupContainer.classList.add('show'); } function closePopup() { var popupContainer = document.getElementById('popup-container'); var driveIframe = document.getElementById('drive-iframe'); driveIframe.src = ""; popupContainer.classList.remove('show'); } var popupButton = document.getElementById('popup-button'); popupButton.addEventListener('click', function() { openPopup("1EO9XK5oRbSnzzzgYeAsQNNNXWDxI7ibp"); // Ganti dengan ID video Google Drive Anda }); </script>