ÿØÿà JFIF ÿÛ „ ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /var/www/html/video/proxy/ |
<?php $allowed_domains = array( 'vidoe.top', 'www.vidoe.top', ); $allowed = false; foreach ($allowed_domains as $a) { if (preg_match("@https?://$a/.*@", $_SERVER['HTTP_REFERER'])) { $allowed = true; } } /*if ($allowed) { }else { echo "Ugly domain"; exit(); }*/ $url_encode = $_GET['file']; $type = 'application/x-mpegURL'; ?> <html style="width: 100%; height: 100%"><head> <title>-Server 2 embed-</title> <style type="text/css"> body { background: #000000; margin: 0px; padding: 0px; } </style> <link href="https://img.vidoe.top/videojs/video-js.css" rel="stylesheet" /> <link href="https://img.vidoe.top/videojs/vsg-skin.css" rel="stylesheet"> </head> <body style="width: 100%; height: 100%"> <?php if($url_encode !='') { ?> <video autoplay controls id="ht_player" style="width: 100%; height: 100%" class="video-js vjs-theme-forest vjs-16-9" preload="auto" poster="" data-setup="{ }"> <source src="https://hls5.vidoe.top/drama.php?file=<?php echo $url_encode; ?>&time=<?php echo time();?>" type='<?php echo $type;?>'/> <p>Video Playback Not Supported</p> </video> <script type="text/javascript"> //var player = videojs('#ht_player'); //player.play(); </script> <?php } ?> <script src="https://img.vidoe.top/videojs/video.js"></script> <script src="https://img.vidoe.top/videojs/videojs-contrib-hls.js"></script> <script type="text/javascript"> var player = videojs('#ht_player'); player.on('contextmenu', function(e) { e.preventDefault(); }); </script> </body></html>