Вы хотите отреагировать на этот пост ? Создайте аккаунт всего в несколько кликов или войдите на форум.

Перейти вниз
avatar
Admin
Admin
Admin
Сообщения : 5
Очки : 10
Дата регистрации : 2011-12-16
https://demo890.mirbb.com

плеер         Empty плеер

Пт Мар 30, 2012 9:45 am


$(function(){
$('td#button-video').before('');
$("div.post-content, li.pa-title").map(function () {
text = $(this).html();
if(text.indexOf("[/playf]") != -1) {
changer = /\[playf\](\d+)\[\/playf\]/g
$(this).html(text.replace(changer, "[audio]http://playfile.ru/get/$1/[/audio]"));
}
if(text.indexOf("http://playfile.ru") != -1) {
player = /\[audio\](.*?)\/get\/(\d+)\/\[\/audio\]/g
$(this).html(text.replace(player, "
"));
}
if(text.indexOf("http://static.video.yandex.ru/lite-audio") != -1) {
player = /\[audio\]\[flash=([0-9]+)\,([0-9]+)\,(.*?)\/lite-audio\/(.*?)\[\/audio\]/g
$(this).html(text.replace(player, "
"));
}
if(text.indexOf("http://www.filehoster.ru") != -1) {
player = /\[audio\]http:\/\/www\.filehoster\.ru\/files\/(.*?)\[\/audio\]/g
$(this).html(text.replace(player, "
"));
}
if(text.indexOf("zippyshare.com") != -1) {
player = /\[audio\]http:\/\/www(\d+)\.zippyshare\.com\/v\/(\d+)\/file\.html\[\/audio\]/g
$(this).html(text.replace(player, "
"));
}
if(text.indexOf("http://rghost.ru") != -1) {
player = /\[audio\](.*?)\/(\d+)\[\/audio\]/g
$(this).html(text.replace(player, "
"));
}
if(text.indexOf("http://www.aimini.net") != -1) {
player = /\[audio\](.*?)\?fid=([a-zA-Z0-9]{1})([a-zA-Z0-9]{1})([a-zA-Z0-9]{1})([a-zA-Z0-9]{1})([a-zA-Z0-9]{16})\[\/audio\]/g
$(this).html(text.replace(player, "
"));
}
if(text.indexOf(".mp3") != -1) {
player = /\[audio\](.*?)\[\/audio\]/g
$(this).html(text.replace(player, "
"));
} }); });
var popup, popupp, pop, popzz, poprg, popam, popfl;
function pop1(){
popup = window.open("http://www.playfile.ru/","popDialog","height=380,width=650")
if (!document.all) {popup.moveTo(100,100);}
return false}
function pop2(){
popupp = window.open("http://www.yapfiles.ru/","popDialog","height=200,width=700")
if (!document.all) {popupp.moveTo(100,100);}
return false}
function pop4(){
popzz = window.open("http://www.zippyshare.com/","popDialog","height=40%,width=80%")
if (!document.all) {popzz.moveTo(100,100);}
return false}
function pop5(){
poprg = window.open("http://rghost.ru/","popDialog","height=380,width=440")
if (!document.all) {poprg.moveTo(100,100);}
return false}
function pop6(){
popam = window.open("http://aimini.net/","popDialog","height=380,width=440")
if (!document.all) {popam.moveTo(100,100);}
return false}
function pop7(){
popfl = window.open("http://www.filehoster.ru/","popDialog","height=380,width=440")
if (!document.all) {popfl.moveTo(100,100);}
return false}
function pop8(){
poppro = window.open("http://prostopleer.com/#/upload","popDialog","height=380,width=440")
if (!document.all) {poppro.moveTo(100,100);}
return false}
function tag_play()
{var FoundErrors = '';
var enterURL = prompt("Введите ссылку на музыку с ресурсов из списка или прямую ссылку формата .mp3 ", "http://");
if (!enterURL)
{FoundErrors += " " + error_no_url;}
if (FoundErrors)
{alert("Ошибка!" + FoundErrors);
return;}
insert("[audio]" + enterURL + "[/audio]");}

avatar
Admin
Admin
Admin
Сообщения : 5
Очки : 10
Дата регистрации : 2011-12-16
https://demo890.mirbb.com

плеер         Empty Re: плеер

Сб Май 26, 2018 3:09 pm
vedvw
Вернуться к началу
Права доступа к этому форуму:
Вы не можете отвечать на сообщения