Script gerador de player de vídeo gratuito

  • Autor Autor Usuario eliminado 189151
  • Data de início Data de início
Este tópico foi traduzido automaticamente do espanhol. Ver original
Status

🔒 Este tópico está fechado para novas respostas.

⏰ Apenas o criador do tópico pode solicitar a reabertura de seus próprios tópicos, mas apenas dentro dos 60 dias anteriores à última atualização.

sim, já nenhum funciona. Eu fiz essas modificações e coloquei os que estão sendo usados ultimamente.
 
jwplayer 5 é antigo também 🙄 - quer trocá-lo também
 
Se você quiser, poderíamos trabalhar juntos e polir um pouco mais
 
Se você quiser, poderíamos trabalhar juntos e polir um pouco mais

é seu site, porque há vários links com esse domínio
estuyo.webp
 
O link do MEGA do patch de segurança está fora do ar, podem reenviar? Com a melhoria do PHP para 7.4? Abraços!!
 
olá amigos bom dia a todos do grupo. sabem se continua funcionando? eu baixei faz meses e vai bem, mas problemas pessoais de saúde de um familiar me tiraram de tudo e agora instalei tudo parecia bem, mas quando coloco a url me aparece a tela em branco ./ o navegador* a verdade é que nunca me aconteceu isso.. se alguém me ajuda .obrigado amigos
 
Olá, o meu fica nos três pontos azuis de carregando, não sei programar, só fiz o que pude, tenho 14 anos, podem me ajudar a instalá-lo bem?
 
Olá anibal, bom, não sei se mudou algo, mas segui os passos 1 por 1 e tudo bem, mas quando coloco o link a tela do navegador está em branco. não sei o que será
 
var URLBASE = "AQUI TU WEB";
var baseDiv = document.querySelector('#DisplayContent');
window.addEventListener('load', function () {
permiso('', 1, '', 0);
echo.init({ callback: function(e, t) {} });
});

// Opciones de video PlAYER!
function go_to_player(url, type, load) {

if (type == 1) {
insertIframe(url, 1, load);
}
// Procesador!
if (type == 2) {
procesador(url, load);
}
// Recolector
if (type == 3) {
document.querySelector(".BotHumano").classList.add('BotHumanoA');
document.querySelector(".BotHumano").insertAdjacentHTML('afterbegin', '<div class="BoxHumano"><span><b>Obtendo vÃdeos externos</b> <p>Por favor, aguarde alguns segundos</p></span></div>');
recolector(url);
}
}
function permiso(url, type, load, proz) {
document.querySelector(".FirstLoad").classList.remove('FirstLoadA');
document.querySelector(".BotHumano").classList.add('BotHumanoA');
document.querySelector(".BotHumano").insertAdjacentHTML('afterbegin', '<div class="BoxHumano"><span>Verificando que você não é um robô...</span></div>');
setTimeout(function () {
reCaptcha(type).then(re => {
if (re.status == 200) {
document.querySelector(".BotHumano").classList.remove('BotHumanoA');
document.querySelector(".BoxHumano").remove();
baseDiv.insertAdjacentHTML('afterbegin', re.data);
}else {
document.querySelector(".BotHumano").classList.remove('BotHumanoA');
document.querySelector(".BoxHumano").remove();
baseDiv.insertAdjacentHTML('afterbegin', re.data);
}
});
}, 300);
}
function reCaptcha(type) {
return grecaptcha.execute('6Lesp90UAAAAAMTD9rPVwdfSGB8pJyybx8kfBgiZ', {action: 'peticiones'}).then(function(token) {
if (token != null) {
var t = new FormData; t.append("cpt", token); t.append("id", ID); t.append("type", type);
return fetch(URLBASE+'/cpt', { method: 'POST', body: t }) .then(res => res.json())
.then( dato => { return dato; }).catch(function(error) {
var error = {status: 404, data:'<div class="BotHumanoFail BotHumanoFailA"><div class="BoxHumanoFail"><span><b>Erro de verificação</b><p>Verifique se você não tem nada que bloqueie as requisições (Vpn, Adblocks, Plugins ou Navegadores não oficiais)</p></span></div></div>'}; return error;
});
}else { var error = {status: 301, data:'Hash inexistente'}; return error; }
});
}

function procesador(url, type) {
var u = URLBASE+'/'+url;
document.querySelector(".BotHumano").classList.add('BotHumanoA');
document.querySelector(".BotHumano").insertAdjacentHTML('afterbegin', '<div class="BoxHumano"><span><b>Processando vÃdeo</b> <p>Por favor, aguarde alguns segundos</p></span></div>');

fetch(u, { method: 'GET' }) .then(res => res.json())
.then( dato => {
document.querySelector(".BotHumano").classList.remove('BotHumanoA');
document.querySelector(".BoxHumano").remove();
if (dato.status == 200) {
insertIframe('get-player/'+dato.data, 1, 2);
}

if (dato.status == 300) {
document.querySelector(".BotHumano").classList.add('BotHumanoA');
document.querySelector(".BotHumano").insertAdjacentHTML('afterbegin', '<div class="BoxHumano coding"><span>Os vÃdeos ainda estão em processo de codificação, volte em alguns minutos</span></div>');
setTimeout(function () {
document.querySelector(".BotHumano").classList.remove('BotHumanoA');
document.querySelector(".BoxHumano").remove();
}, 3000);
}

if (dato.status == 404) {
document.querySelector(".BotHumano").classList.add('BotHumanoA');
document.querySelector(".BotHumano").insertAdjacentHTML('afterbegin', '<div class="BoxHumano coding" style="background: #083632;"><span>Todos os vÃdeos desta opção foram excluÃdos, sentimos muito pelo transtorno</span></div>');
setTimeout(function () {
document.querySelector(".BotHumano").classList.remove('BotHumanoA');
document.querySelector(".BoxHumano").remove();
}, 3000);
}
}).catch(function(error) {
document.querySelector(".BoxHumano").remove();
document.querySelector(".BotHumano").insertAdjacentHTML('afterbegin', '<div class="BoxHumano coding" style="background: #57130e;"><span>Houve um erro inesperado ao processar os vÃdeos, tente novamente mais tarde</span></div>');
setTimeout(function () {
document.querySelector(".BotHumano").classList.remove('BotHumanoA');
document.querySelector(".BoxHumano").remove();
}, 3000);
});

}

function recolector(url) {
var u = URLBASE+'/'+url;
var load = document.querySelector(".BotHumano");

fetch(u, { method: 'GET' }) .then(res => res.json())
.then( dato => {
if (dato.status == 200) {
load.innerHTML = `
<div class="BoxHumano reAct"><span>
<div class="tl1"> ${dato.total} <b>VÃdeos Totais</b> </div>
<div class="tl2"> 1 </div>
<div class="tl3"> ${dato.doned} </div>
</span></div>`;
setTimeout(function () {
document.querySelector(".BotHumano").classList.remove('BotHumanoA');
document.querySelector(".BoxHumano").remove();
insertIframe('get-player/'+dato.data.data, 1, 2);
}, 500);

}else {
if (dato.status == 202) {
load.innerHTML = `<div class="BoxHumano coding"><span>Os vÃdeos ainda estão em processo de codificação, volte em alguns minutos</span></div>`;
setTimeout(function () {
document.querySelector(".BotHumano").classList.remove('BotHumanoA');
document.querySelector(".BoxHumano").remove();
}, 3000);
}else {

if (dato.doned >= dato.total) {
load.innerHTML = `<div class="BoxHumano coding" style="background: #083632;"><span>Os vÃdeos analisados não estão disponÃveis, sentimos muito</span></div>`;
setTimeout(function () {
document.querySelector(".BotHumano").classList.remove('BotHumanoA');
document.querySelector(".BoxHumano").remove();
}, 3000);
}else {
load.innerHTML = `
<div class="BoxHumano reAct"><span>
<div class="tl1"> ${dato.total} <b>VÃdeos Totais</b> </div>
<div class="tl2"> 0 </div>
<div class="tl3"> ${dato.doned} </div>
</span></div>`;
setTimeout(function () {
recolector(url);
}, 500);

}
}
}

}).catch(function(error) {
load.innerHTML = `<div class="BoxHumano coding" style="background: #57130e;"><span>Houve um erro inesperado ao analisar os vÃdeos, tente novamente mais tarde</span></div>`;
setTimeout(function () {
document.querySelector(".BotHumano").classList.remove('BotHumanoA');
document.querySelector(".BoxHumano").remove();
}, 3000);
});

}

function insertIframe(url, type, load) {
var urlInserted = URLBASE+'/'+url;
var displayVideo = document.querySelector(".DisplayVideo");
if (type == 1) {
var pbl = '<a href="'+directLink()+'" rel="nofollow noopener" class="pbl" target="_blank" onclick="pbl(this);"></a>';

displayVideo.classList.add('DisplayVideoA');
if (load == 1) {
displayVideo.innerHTML = `
${pbl}
<span onclick="insertIframe('', 2);">
<img src="">
</span>
<iframe id="IFR" src="${urlInserted}" frameborder="0" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"></iframe>`;

}else {
displayVideo.innerHTML = `
${pbl}
<p></p>
<span onclick="insertIframe('', 2);">
<img src="">
</span>
<iframe id="IFR" frameborder="0" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"></iframe>`;

var myIframe = document.getElementById('IFR');
myIframe.addEventListener("load", function() {
setTimeout(function () {
document.querySelector(".DisplayVideo p").remove();
}, 1000);
});
myIframe.src = urlInserted;
}

}else {
displayVideo.classList.remove('DisplayVideoA');
displayVideo.innerHTML = '';
}

}


function pbl(who) { who.remove(); var timep = time(8); localStorage.setItem('varDirect',timep);}

function SelLang(who, id) {
document.querySelector(".FirstLoad").classList.add('FirstLoadA');
if (document.querySelector(".SLD_A") != null){
document.querySelector(".SLD_A").classList.remove('SLD_A');
}
who.classList.add('SLD_A');
setTimeout(function () {
document.querySelector(".FirstLoad").classList.remove('FirstLoadA');
if (document.querySelector(".REactiv") != null){
document.querySelector(".REactiv").classList.remove('REactiv');
}
document.querySelector(".OD_"+id).classList.add('REactiv');
}, 300);
}


! function(e, t) {
"function" == typeof define && define.amd ? define(function() {
return t(e)
}) : "object" == typeof exports ? module.exports = t : e.echo = t(e)
}(this, function(e) {
"use strict";
var t, i, n, o, r, c = {},
l = function() {},
s = function(e, t) {
if (function(e) {
return null === e.offsetParent
}(e)) return !1;
var i = e.getBoundingClientRect();
return i.right >= t.l && i.bottom >= t.t && i.left <= t.r && i.top <= t.b
},
a = function() {
!o && i || (clearTimeout(i), i = setTimeout(function() {
c.render(), i = null
}, n))
};
return c.init = function(i) {
var s = (i = i || {}).offset || 0,
d = i.offsetVertical || s,
u = i.offsetHorizontal || s,
m = function(e, t) {
return parseInt(e || t, 10)
};
t = {
t: m(i.offsetTop, d),
b: m(i.offsetBottom, d),
l: m(i.offsetLeft, u),
r: m(i.offsetRight, u)
}, n = m(i.throttle, 250), o = !1 !== i.debounce, r = !!i.unload, l = i.callback || l, c.render(), document.addEventListener ? (e.addEventListener("scroll", a, !1), e.addEventListener("load", a, !1)) : (e.attachEvent("onscroll", a), e.attachEvent("onload", a))
}, c.render = function(i) {
for (var n, o, a = (i || document).querySelectorAll("[data-echo], [data-echo-background]"), d = a.length, u = {
l: 0 - t.l,
t: 0 - t.t,
b: (e.innerHeight || document.documentElement.clientHeight) + t.b,
r: (e.innerWidth || document.documentElement.clientWidth) + t.r
}, m = 0; m < d; m++) o = a[m], s(o, u) ? (r && o.setAttribute("data-echo-placeholder", o.src), null !== o.getAttribute("data-echo-background") ? o.style.backgroundImage = "url(" + o.getAttribute("data-echo-background") + ")" : o.src !== (n = o.getAttribute("data-echo")) && (o.src = n), r || (o.removeAttribute("data-echo"), o.removeAttribute("data-echo-background")), l(o, "load")) : r && (n = o.getAttribute("data-echo-placeholder")) && (null !== o.getAttribute("data-echo-background") ? o.style.backgroundImage = "url(" + n + ")" : o.src = n, o.removeAttribute("data-echo-placeholder"), l(o, "unload"));
d || c.detach()
}, c.detach = function() {
document.removeEventListener ? e.removeEventListener("scroll", a) : e.detachEvent("onscroll", a), clearTimeout(i)
}, c
});

function time(sump){
var fecha = new Date();
var horas = sump;
fecha = new Date(fecha);
fecha.setHours(fecha.getHours()+horas);
fecha = fecha.toISOString();
var fecha_date = fecha.split('T');
var fecha_time = fecha_date[1].split('.');
var fecha_time = fecha_date[1].split(':');
fecha_date = fecha_date[0];
fecha = fecha_date+' '+fecha_time[0]+':'+fecha_time[1];
return fecha;
}

function copy() {
var copyText = document.getElementById("copyUrl");
copyText.select();
copyText.setSelectionRange(0, 99999);
document.execCommand("copy");

document.querySelector(".share").insertAdjacentHTML('afterbegin', '<p>Url copiado</p>');
setTimeout(function () {
document.querySelector(".share p").remove();
}, 1200);

}

Ver o anexo 307946

O que é isso? Derrubaram meu site por causa da hospedagem, mas já estou fazendo outro
 
SÃO OS .JS QUE SÃO NECESSÁRIOS PARA QUE FUNCIONEM E ENCONTREI TAMBÉM

<li class="option streaman" title="Ver en Streamango" data-test="<?php echo $playerInfo[0]; ?>" data-player="Streamango" data-playerid="<?php echo $playerInfo[2]; ?>" data-lang="dub">
<div class="iconBig">
<div>
<img src="https://1.bp.blogspot.com/-dRPe1q_Y...r0JsuISad5gj03lrgCLcBGAs/s1600/streamango.png">
</div>
</div>
</li>
<?php
break;
case "4":
?>
<li class="option popenload" title="Ver en Openload" data-test="<?php echo $playerInfo[0]; ?>" data-player="Openload" data-playerid="<?php echo $playerInfo[2]; ?>" data-lang="dub">
<div class="iconBig">
<div>
<img src="https://3.bp.blogspot.com/-BECHZoSZ...v9F8QykXV8imHIQoOuwCLcBGAs/s1600/openload.png">
</div>
</div>
</li>
<?php
break;
case "5":
?>

ESSES SERVERS JÁ MORRERAM, VOU TIRÁ-LOS DE LÁ OU TROCÁ-LOS POR STREAMTAPE OU OUTRO NOVO
Onde isso vai?
 
sim, já nenhum funciona. Eu fiz essas modificações e coloquei os que estão sendo usados ultimamente.
Você pode colocar um .zip com um guia de como instalar e isso?
 
Parecia muito legal. 🤓
 
olá amigo themakotohd poderia me ajudar, desculpa o incômodo. a tela do navegador fica em branco. talvez seja o antigo, a verdade é que não estou muito bem com isso. se puder me mandar o novo, o consertado por você, obrigado de novo, feliz dia
 
Como eu instalo?
 
Olá, dentro do arquivo tem o guia?
 
Eu subi para a minha hospedagem e derrubaram meu site, sabem por quê? Uso ifastnet
 
Status

🔒 Este tópico está fechado para novas respostas.

⏰ Apenas o criador do tópico pode solicitar a reabertura de seus próprios tópicos, mas apenas dentro dos 60 dias anteriores à última atualização.

Voltar
Topo