| Server IP : 103.82.32.14 / Your IP : 216.73.217.121 Web Server : Apache/2.2.32 (Unix) mod_ssl/2.2.32 OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 System : Linux cloud.lonmanhoabinh.com 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : lonmakmf ( 524) PHP Version : 5.6.30 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /home/phimfeoo/public_html/photo/ |
Upload File : |
<?php
/**
*/
?>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/2.1.0/sweetalert.min.js"></script>
<script type="text/javascript" src="https://ssl.p.jwpcdn.com/player/v/8.6.2/jwplayer.js"></script>
<script type="text/javascript">jwplayer.key="cLGMn8T20tGvW+0eXPhq4NNmLB57TrscPjd1IyJF84o=";</script>
<?php
error_reporting(0);
$data = (isset($_GET['data'])) ? $_GET['data'] : '';
if ($data != '') {
include_once 'config.php';
$data = json_decode(decode($data));
$link = (isset($data->link)) ? $data->link : '';
$sub = (isset($data->sub)) ? $data->sub : '';
$poster = (isset($data->poster)) ? $data->poster : '';
$tracks = '';
foreach ($sub as $key => $value) {
$tracks .= '{
file: "'.$value.'",
label: "'.$key.'",
kind: "captions"
},';
}
include_once 'curl.php';
$curl = new cURL();
$getSource = $curl->get($link);
$deSource = rawurldecode($getSource);
preg_match_all('/https:\/\/(.*?)=m(22|18|37)/', $deSource, $matchSource);
foreach ($matchSource[2] as $key => $value) {
switch ($value) {
case '37':
$s[1080] = '{"file": "https://' . $matchSource[1][0] . '=m37", "type": "video\/mp4", "label": "1080p"}';
break;
case '22':
$s[720] = '{"file": "https://' . $matchSource[1][0] . '=m22", "type": "video\/mp4", "label": "720p"}';
break;
case '18':
$s[360] = '{"file": "https://' . $matchSource[1][0] . '=m18", "type": "video\/mp4", "label": "360p"}';
break;
}
}
krsort($s);
$enJson = implode(',', $s);
$sources = '['.$enJson.']';
$checkSource = preg_match('/\[\]/', $sources, $match);
if($checkSource) {
$sources = '[{"label":"undefined","type":"video\/mp4","file":"undefined"}]';
}
} else echo 'Empty link!';
?>
<div id="vdcn">Play video...</div>
<script type="text/javascript">
var encrpytplay = jwplayer("vdcn");
encrpytplay.setup({
title: "",
controls: true,
displaytitle: true,
aspectratio: "16:9",
primary: 'html5',
provider: 'http',
autostart: false,
image:"",
sources:<?php echo $sources; ?> ,
logo : {
file: "",
link: "",
hide: true,
},
abouttext: "Xem JAV Dot NET!",
aboutlink: "http://localhost/sex",
advertising: {
"client": "vast",
"tag": "http://localhost/sex/ads.xml",
"skipoffset": 5,
"skipmessage": 'Skip this ad in XX'
}
});
</script>