403Webshell
Server IP : 80.241.246.6  /  Your IP : 216.73.216.188
Web Server : Apache/2.4.25 (Debian)
System : Linux kharagauli 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
User : www-data ( 33)
PHP Version : 7.0.33-0+deb9u12
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/kharagauli1/moduls/player/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/kharagauli1/moduls/player/players_js.js
/*
@author suxoza <suxoza@gmail.com>
*/
    
    
    $(function(){

        var playerss = new MediaElementPlayer('#video2', {
            features: ['playpause','progress','current','duration','tracks','volume','fullscreen']
            }
        );

    });
    
    


    
   var play_all_video_variable = false;

   Array.prototype.in_array = function(p_val){
	for(var i = 0, l = this.length; i < l; i++){
		if(this[i] == p_val)
			return true;
	}
	return false;
   }
   
    String.prototype.startsWith = function(str){
      return this.slice(0, str.length) == str;
    };
      
   String.prototype.endsWith = function(str){
    return this.slice(-str.length) == str;
   };  
   

   function play_all_video(ths){
       var tha = $(ths);
       tha.addClass('play_all_player_active');
       play_all_video_variable = true;
       var th = $('.sherxan_iox',$('.small_video_player:first'));
       play_video_func(th);

   }
   
   function add_clases(th,bool){
       if(bool == 1)addClass(th,'info_div_player_hover');
       else removeClass(th,'info_div_player_hover');
   }
   
   function play_recursion(a){
       var ths = $(a);
       prev_next('next');
       
   }
   
   function prev_next(a){
       var div = $('.active_player');
       var divs;
       if(!div[a]('.small_video_player').length){
           divs = (a == 'prev')?$('.small_video_player:last'):$('.small_video_player:first');
       }else divs = div[a]('.small_video_player');
        var th = $('.sherxan_iox',divs);
        play_video_func(th);
   }
   
   function play_video(a){
         var th = $(a);
         if(th.parent().is('.active_player'))return;
         $('#play_all_player').removeClass('play_all_player_active');
         play_all_video_variable = false;
         ///th.parent().scrollTop(300);
         play_video_func(th);
   }
   
   function wicher_player(a){
       var th = $(a);
       th.toggleClass('after_player');
       if(th.is('.after_player')){
        if($('div[id^=mep_]').length){  
            $('#inner_video_player').width(780)
            .find('video').width(780).end()
            .find('.mejs-overlay').width(780).end()
            .find('.mejs-poster').width(780).end()
            .find('.mejs-time-rail').width(633).end()
            .find('.mejs-container').width(780);
            
         }else $('#inner_video_player iframe').attr('width',780);  
         $('#lists_video_player_hidden').hide();
       }else{
         if($('div[id^=mep_]').length){  
            $('#inner_video_player').width(615)
              .find('video').width(620).end()
              .find('.mejs-overlay').width(620).end()
              .find('.mejs-poster').width(620).end()
              .find('.mejs-container').width(620).end()
              .find('.mejs-time-rail').width(473);
            
         }else $('#inner_video_player iframe').attr('width',615);   
         $('#lists_video_player_hidden').show();
       }   
   }
   
   function play_video_func(th){
         var srcoller = ((th.parent().height()+2)*th.parent().index());
         $('#lists_video_player').animate({scrollTop:srcoller+"px"});
         
         
         $('.active_player').removeClass('active_player');
         th.parent().addClass('active_player')
         var video = th.attr('video');
         var logo = th.attr('logo');
         //var video2 = $('#video2') || ''; 
         if($('div[id^=mep_]').length)$('div[id^=mep_]').remove();
        if($('#__iframe').length)$('#__iframe').remove(); 
        if(th.attr('src').startsWith('http')){
            video_iframe = $('<iframe>',{width:620,height:468,class:'video_iframe _display_none',frameborder:0,id:"__iframe",src:'http://www.youtube.com/embed/'+video}); 
            $('#video_parent_player').append(video_iframe);
            video_iframe.load(function(){
                $(this).removeClass('_display_none');
            });
         }else{
             
            
           
            
            var video_tag = $('<video id="video2" onended="play_recursion(this);" preload="none" width="620" height="468">'+
                                '<source  type="video/mp4" />'+
                              '</video>');

            video_tag.attr('poster',logo);
            $('source',video_tag).attr('src',video);
            $('#inner_video_player #video_parent_player').prepend(video_tag);


             playerss = null;
             playerss = new MediaElementPlayer('#video2', {
               features: ['playpause','progress','current','duration','tracks','volume','fullscreen']
               }
             );
             if(play_all_video_variable)playerss.play();
         }
         var title_html = $('.title_for_change_player',th.parent()).html();
         $('#title_player').html(title_html);
         $('#play_options_playes span').html(function(){
             var aa = $(this).html().split('/')[1];
             return (th.parent().index()+1)+'/'+aa;
         });
          
   }
   
   function addClass(o, c){
     var re = new RegExp("(^|\\s)" + c + "(\\s|$)", "g")
     if (re.test(o.className)) return
     o.className = (o.className + " " + c).replace(/\s+/g, " ").replace(/(^ | $)/g, "")
   }
 
   function removeClass(o, c){
        var re = new RegExp("(^|\\s)" + c + "(\\s|$)", "g")
        o.className = o.className.replace(re, "$1").replace(/\s+/g, " ").replace(/(^ | $)/g, "")
   }

Youez - 2016 - github.com/yon3zu
LinuXploit