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/video_gallery_2/site/youtube/ |
Upload File : |
<!DOCTYPE html> <html> <head> <title>TODO supply a title</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width"> </head> <body> <div id="diva">TODO write content</div> <script> function sleep(milliseconds) { var start = new Date().getTime(); for (var i = 0; i < 1e7; i++) { if ((new Date().getTime() - start) > milliseconds){ break; } } } var $chunksize = 16384; var $bytesdone = 0; var $t0 = new Date().getTime(); var $elapsed,$rate,$eta,$progress_stats; var $length = 29675657; var interval = setInterval(function(){ $elapsed = new Date().getTime() - $t0; $bytesdone += 1400*2; $rate = ($bytesdone / 1024) / $elapsed*1000; $eta = ($length - $bytesdone) / ($rate * 1024); $progress_stats = $bytesdone+' Bytes '+ Math.round($bytesdone * 100.0 / $length)+'% received. Rate:'+ $rate.toFixed(2)+' kbps]. ETA: '+ Math.round($eta)+' secs]'; document.getElementById('diva').innerHTML = $progress_stats; if(!Math.round($eta))clearInterval(interval); },0); function time(){ return Math.floor(new Date().getTime() / 1000); } </script> </body> </html>