Error en reproductor de video en ciertos dispositivos

  • Autor Autor aex studio
  • Fecha de inicio Fecha de inicio
te manda al temporal link
 
borra cache antes de probarlo
 
creo que streamtape bloqueo ip de algunos paises o nose porque
 
pero algunos paises les bloquean el acceso
 
streamtape bloquea acceso en algunos paises esta raro
 
lo realmente faltaria es un script que traiga videos de amazon photos ya que amazon drive muere este diciembre
 
<?php
$filelink='https://strtpe.link/e/'.$_GET['v'].'';
if (strpos($filelink,"strtpe.link") !== false) {
$head=array('Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8',
'Accept-Language: ro-RO,ro;q=0.8,en-US;q=0.6,en-GB;q=0.4,en;q=0.2',
'Accept-Encoding: deflate',
'Connection: keep-alive',
'Upgrade-Insecure-Requests: 1');
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $filelink);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_USERAGENT, $ua);
curl_setopt($ch, CURLOPT_HTTPHEADER,$head);
curl_setopt($ch, CURLOPT_ENCODING, "");
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 15);
curl_setopt($ch, CURLOPT_TIMEOUT, 25);
curl_setopt($ch, CURLINFO_HEADER_OUT, true);
$h = curl_exec($ch);
$info = curl_getinfo($ch);
curl_close($ch);
$h=str_replace("\\","",$h);
if (preg_match('/(\/\/[\.\d\w\-\.\/\\\:\?\&\#\%\_\,]*(\.(srt|vtt)))/', $h, $s))
$srt="https:".$s[1];

if (preg_match_all("/\(\'\w+\'\)\.innerHTML\s*\=\s*(.*?)\;/",$h,$m)) {
$e1=$m[1][count($m[1])-1];
$e1=str_replace("'",'"',$e1);
$d=explode("+",$e1);
$out="";
for ($k=0;$k<count($d);$k++) {
$s=trim($d[$k]);
preg_match("/\(?\"([^\"]+)\"\)?(\.substring\((\d+)\))?(\.substring\((\d+)\))?/",$s,$p);
if (isset($p[3]) && isset($p[5]))
$out .=substr(substr($p[1],$p[3]),$p[5]);
elseif (isset($p[3]))
$out .=substr($p[1],$p[3]);
else
$out .=$p[1];
}
$link=$out;
$link .= "&stream=1";
if ($link[0]=="/") $link="https:".$link;
}
}
header('Location: '.$link);
?>

asi si carga
 
Atrás
Arriba