HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: xnsbb3110 (1041)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //proc/self/cwd/wp-content/themes/medialider/js_not_minfied/me.js
$(document).ready(function () {

    $('video').mediaelementplayer({

            // useful for <audio> player loops
            loop: true,
            features: [],
            // enables Flash and Silverlight to resize to content size
            enableAutosize: true,
            // Hide controls when playing and mouse is not over the video
            alwaysShowControls: false,
            // Display the video control
            hideVideoControlsOnLoad: false,
            // force iPad's native controls
            iPadUseNativeControls: false,
            // force iPhone's native controls
            iPhoneUseNativeControls: false,
            // force Android's native controls
            AndroidUseNativeControls: false,
            startVolume: 0,
            // forces the hour marker (##:00:00)
            //alwaysShowHours: false,
            // show framecount in timecode (##:00:00:00)
            showTimecodeFrameCount: false,
            // used when showTimecodeFrameCount is set to true
            framesPerSecond: 25,
            // turns keyboard support on and off for this instance
            enableKeyboard: true,
            // when this player starts, it will pause other players
            pauseOtherPlayers: true,
            // array of keyboard commands
            keyActions: [],
            success: function(){
                $('.mejs-controls').css('display', 'none');
            }

        });

        var player = new MediaElementPlayer('#player1');
        $(".mejs-container").data("active","false");
        var controls=$(".player-back, .play-btn_front-page-btn");
        var i=0;
    for( i=0;i<controls.length;i++) {
        controls[i].addEventListener('click', function (e) {
            if($(".mejs-container").data("active")=="false") {
                $("#front-page-slide-header").stop().animate({
                    opacity: 0
                }, 1000, function () {
                    $("#front-page-slide-header").css("z-index", "0");
                });
                $(".player-back, .play-btn_front-page-btn").stop().animate({
                    opacity: 0
                }, 1000, function () {

                    $(".player-back").css("z-index", "0");
                    $(".play-btn_front-page-btn").css("z-index", "0");
                    $(".mejs-container").css("z-index", "100");
                    $(".mejs-container").data("active", "true");
                    player.play();
                });
            }
        });
    }
        var videoContainer=$(".mejs-container");
    var j=0;
    for( j=0;j<videoContainer.length;j++) {
        videoContainer[j].addEventListener('click', function (e) {
           if( $(".mejs-container").data("active")=="true") {
               $(".player-back").css("z-index", "1");
               $("#front-page-slide-header").css("z-index", "120");
               $(".mejs-container").css("z-index", "0");
               $(".mejs-container").data("active", "false");
               $("#front-page-slide-header").stop().animate({
                   opacity: 1
               }, 1000);
               $(".player-back, .play-btn_front-page-btn").stop().animate({
                   opacity: 1
               }, 1000, function () {

               });
               player.pause();
           }
        }, false);
    }
  player.load();
}
);