Единый форум поддержки

Информация о пользователе

Привет, Гость! Войдите или зарегистрируйтесь.


Вы здесь » Единый форум поддержки » Новые возможности форумов » Музыка в постах


Музыка в постах

Сообщений 321 страница 340 из 762

1

Актуальная на дынный момент версия - Мультитрековый плеер v2
Предыдущие версии с подробными инструкциями актуальными до сих пор:
Мультитрековый плеер в постах (плеер с плейлистом) v1.0
Мультитрековый плеер в постах (плеер с плейлистом) v1.1

+5

321

Damla написал(а):

он сам отображается, но музыка не играет

а вы проверьте ссылки на треки в формате mp3, которые перестали звучать, может быть они уже устарели и были удалены с http://klopp.net.ru/files/

0

322

Romych написал(а):

а вы проверьте ссылки на треки в формате mp3, которые перестали звучать, может быть они уже устарели и были удалены с http://klopp.net.ru/files/

ммм так ведь я загружаю песни с компьютера своего? во всяком случае, раньше так делала и все работала. нажимала на кнопочку, выбирала песню, она там же в этом окошке загружалась там же появлялась ссылка, которую я вставляла в следующее окошко и в общем все работало) сейчас все делаю также,но музыка не идет((

Deff написал(а):

Ссылку на конкретный пост с музыкой(клик на дату в посте

Отредактировано Damla (Вт, 27 Мар 2012 12:03:17)

0

323

Damla
а чем вам не нравится скрипт - <!--audio в одном v.2.4--> ??
он же без проблем воспроизводит mp3 файлы

тот первый, нравится из-за розовенького цвета?

0

324

Romych написал(а):

Damla
а чем вам не нравится скрипт - <!--audio в одном v.2.4--> ??
он же без проблем воспроизводит mp3 файлы

тот первый, нравится из-за розовенького цвета?

из-за дизайна, из-за цвета..и ещё есть причины))
его скрипт нельзя никак сделать?(( работал ведь до этого... :dontknow:

-----

ой) а вы там какой-то третий ещё плейер поставили? его можно как постоянный установить? :blush:

Отредактировано Damla (Ср, 28 Мар 2012 03:01:31)

0

325

Damla написал(а):

ой) а вы там какой-то третий ещё плейер поставили? его можно как постоянный установить? :blush:

я не мог ничего поставить поскольку вы мне дали пароль и ник от обычного пользователя, этот плеер, который вы назвали третьим, на самом деле входит в состав
<!--audio в одном v.2.4--> из поста №428 этой темы, который у вас уже был установлен, он без проблем работает с mp3 ссылками, которые размещаются между тегами [audio], при нажатии на кнопку http://uploads.ru/i/W/Q/P/WQPBO.gif
а <!--Универсальный mp3 плеер--> предлагаю удалить и забыть про него, тем более вы себе установили его зачем-то дважды

0

326

Короче , замените HTML низ

Код:
<script><!--Своя картинка или Слово в Панель навигации -->
var Img_Word=0;   //0-Картинка;1-Cлово /Ставим картинку или Слово ?
   navlinks=new Array(
  "navextra1","https://forumstatic.ru/files/0010/ef/3e/43361.gif",  // Дополнительный пункт меню 1
  "navextra2","https://forumstatic.ru/files/0010/ef/3e/62408.gif",  // Дополнительный пункт меню 2
  "navindex","https://forumstatic.ru/files/0010/ef/3e/78250.gif",   // Форум
  "navuserlist","https://forumstatic.ru/files/0010/ef/3e/11813.gif",// Участники
  "navrules","https://forumstatic.ru/files/0010/ef/3e/62408.gif",   // Правила
  "navsearch","https://forumstatic.ru/files/0010/ef/3e/64508.gif",  // Поиск
  "navprofile","https://forumstatic.ru/files/0010/ef/3e/70675.gif", // Профиль
  "navpm","https://forumstatic.ru/files/0010/ef/3e/26742.gif",      // Сообщения
  "navadmin","https://forumstatic.ru/files/0010/ef/3e/26174.gif",   // Администрирование
  "navregister","https://forumstatic.ru/files/0010/ef/3e/74013.gif",// Регистрация
  "navlogin","https://forumstatic.ru/files/0010/ef/3e/15341.gif",   // Войти
  "navlogout","https://forumstatic.ru/files/0010/ef/3e/80683.gif"   // Выход - !ПОСЛЕДНИЙ элемент без запятой
)

var s,i;for (i=0; i < navlinks.length; i++){s=navlinks[i+1];
   if(!Img_Word){s='<img class="navlinks" src="'+s+'" border="0" />'}
   $("#"+navlinks[i]+" a").html("<span>"+s+"</span>");i++;}
</script>

<!--audio в одном v.2.4-->
<script type="text/javascript">
var player;
$(function(){
$('td#button-code').before('<td style=\'background-image:url("http://uploads.ru/i/W/Q/P/WQPBO.gif")\' onclick="tag_play()"><img src="/i/blank.gif" title="Загрузить музыку"></td>');
$('div.post-content p').map(function () {
text = $(this).html(); 
if(text.indexOf("zippyshare.com") != -1) {
player = /\[audio\]http:\/\/www(\d+)\.zippyshare\.com\/v\/(\d+)\/file\.html\[\/audio\]/gi
$(this).html(text.replace(player, "<br /><embed type='application/x-shockwave-flash' src='http://api.zippyshare.com/api/mediaplayer/mediaplayer.swf' flashvars='height=20&amp;width=400&amp;file=http://www$1.zippyshare.com/downloadMusic%3Fkey%3D$2%26&amp;volume=80&amp;autostart=false&amp;frontcolor=0x000000&amp;backcolor=0xffffff&amp;lightcolor=0x000000&amp;type=flv' quality='high' menu='false' wmode='transparent' allowscriptaccess='always' height='20' width='400' name='mp3player' border='0' style='margin-bottom: 6px;'/>"));}
if(text.indexOf("promodj.ru") != -1) {
player = /\[audio\]http:\/\/(.*?)\.promodj\.ru\/(.*?)\/(\d+)\/(.*?)\.html\[\/audio\]/gi
$(this).html(text.replace(player, "<br /><embed src='http://i.cdn.promodeejay.net/swf/bigwaveplayer_release9.swf' type='application/x-shockwave-flash' wmode='transparent' width='100%' height='150' allowFullScreen='true' flashvars='link=http%3A%2F%2Fpromodj.ru%2Fprelisten%2F$3%2Fbobmarley%3Fwtf%3D0.41394098338022567%26no_external%3D1&amp;wave=http%3A%2F%2Fpromodj.ru%2Fwaveform_prelisten%2F$3%2Fbobmarley.png%3Fwtf%3D0.41394098338022567%26stub%3D1&amp;slowChannel=1&amp;autostart=0&amp;volumePercent=100&amp;wavecolor=12982542'></embed>"));
}
if(text.indexOf("prostopleer.com") != -1) {
player = /\[audio\](.*?)\/tracks\/(.*?)\[\/audio\]/gi
$(this).html(text.replace(player, "<br /><embed src='http://embed.prostopleer.com/track?id=$2' type='application/x-shockwave-flash'  wmode='transparent' width='411' height='28'></embed>"));
}
if(text.indexOf(".mp3") != -1) {
player = /\[audio\](.*?)\[\/audio\]/gi
$(this).html(text.replace(player, "<br /><embed src='http://www.demo-music.ru/pleer/pleer4.swf' type='application/x-shockwave-flash' allowscriptaccess='always' wmode='transparent' flashvars='comment=demo-music.ru&amp;st=http://www.demo-music.ru/pleer/style_pleer.txt&amp;file=$1' width='470' height='33'>"));
}  });  });
function tag_play()
{var FoundErrors = '';
var enterURL = prompt("Введите ссылку на на музыку с promodj.ru, zippyshare.com, prostopleer.com или прямую ссылку формата .mp3 ", "http://");
if (!enterURL)
{FoundErrors += " " + error_no_url;}
if (FoundErrors)
{alert("Ошибка!" + FoundErrors);
return;}
insert("[audio]" + enterURL + "[/audio]");}
</script>


<!--от Deff-->
<script type="text/javascript">
$("#post #button-smile img").click();
$("#post #button-smile img").click();
</script>


<!--Смайлы от Дэфф часть 2-->
<script type="text/javascript"><!--&&ScrollboxSmilies Setting-->
var Nmax,N_max;
var L=1300 // время - развертывания
var datsplus=22

SmileArr = new Array ();

SmileArr[1]=new Array(
"http://savepic.net/428106.gif", // Юзерский Блок смайлов 1
"http://savepic.net/426058.gif",
"http://savepic.net/433226.gif",
"http://savepic.net/419914.gif",
"http://savepic.net/420938.gif",
"http://savepic.net/424010.gif",
"http://savepic.net/422986.gif",
"http://savepic.net/416842.gif",
"http://savepic.net/402506.gif",
"http://savepic.net/396362.gif",
"http://savepic.net/453709.gif",
"http://savepic.net/451661.gif",
"http://savepic.net/454733.gif",
"http://savepic.net/455757.gif",
"http://savepic.net/445517.gif",
"http://savepic.net/448589.gif",
"http://savepic.net/446541.gif",
"http://savepic.net/437325.gif",
"http://savepic.net/440397.gif",
"http://savepic.net/428109.gif",
"http://savepic.net/426061.gif",
"http://savepic.net/432205.gif",
"http://savepic.net/430157.gif",
"http://savepic.net/419917.gif",
"http://savepic.net/427084.gif",
"http://savepic.net/432204.gif",
"http://savepic.net/430156.gif",
"http://savepic.net/431180.gif",
"http://savepic.net/420940.gif",
"http://savepic.net/417868.gif",
"http://savepic.net/424012.gif",
"http://savepic.net/425036.gif",
"http://savepic.net/421964.gif",
"http://savepic.net/412748.gif",
"http://savepic.net/409676.gif",
"http://savepic.net/410700.gif",
"http://savepic.net/416844.gif",
"http://savepic.net/414796.gif",
"http://savepic.net/404556.gif",
"http://savepic.net/402508.gif",
"http://savepic.net/407628.gif",
"http://savepic.net/408652.gif",
"http://savepic.net/406604.gif",
"http://savepic.net/393292.gif",
"http://savepic.net/399436.gif",
"http://savepic.net/397388.gif"    //SmileArr[1]!!Последняя ссылка без Запятой!!!
)

SmileArr[2]=new Array(
"http://yapro.ru/javascript/jquery.lebnik.Comments/smiles/01.gif", // Юзерский Блок смайлов 2
"http://yapro.ru/javascript/jquery.lebnik.Comments/smiles/02.gif",
"http://yapro.ru/javascript/jquery.lebnik.Comments/smiles/03.gif",
"http://yapro.ru/javascript/jquery.lebnik.Comments/smiles/04.gif",
"http://yapro.ru/javascript/jquery.lebnik.Comments/smiles/05.gif",
"http://yapro.ru/javascript/jquery.lebnik.Comments/smiles/06.gif",
"http://yapro.ru/javascript/jquery.lebnik.Comments/smiles/07.gif",
"http://yapro.ru/javascript/jquery.lebnik.Comments/smiles/11.gif",
"http://yapro.ru/javascript/jquery.lebnik.Comments/smiles/12.gif",
"http://yapro.ru/javascript/jquery.lebnik.Comments/smiles/13.gif",
"http://yapro.ru/javascript/jquery.lebnik.Comments/smiles/49.gif",
"http://yapro.ru/javascript/jquery.lebnik.Comments/smiles/46.gif",
"http://yapro.ru/javascript/jquery.lebnik.Comments/smiles/43.gif",
"http://yapro.ru/javascript/jquery.lebnik.Comments/smiles/41.gif",
"http://yapro.ru/javascript/jquery.lebnik.Comments/smiles/38.gif",
"http://yapro.ru/javascript/jquery.lebnik.Comments/smiles/39.gif",
"http://yapro.ru/javascript/jquery.lebnik.Comments/smiles/37.gif",
"http://yapro.ru/javascript/jquery.lebnik.Comments/smiles/34.gif",
"http://yapro.ru/javascript/jquery.lebnik.Comments/smiles/33.gif",
"http://yapro.ru/javascript/jquery.lebnik.Comments/smiles/31.gif",
"http://yapro.ru/javascript/jquery.lebnik.Comments/smiles/28.gif",
"http://yapro.ru/javascript/jquery.lebnik.Comments/smiles/26.gif",
"http://yapro.ru/javascript/jquery.lebnik.Comments/smiles/25.gif",
"http://yapro.ru/javascript/jquery.lebnik.Comments/smiles/23.gif",
"http://yapro.ru/javascript/jquery.lebnik.Comments/smiles/20.gif",
"http://yapro.ru/javascript/jquery.lebnik.Comments/smiles/19.gif",
"http://yapro.ru/javascript/jquery.lebnik.Comments/smiles/17.gif",
"http://yapro.ru/javascript/jquery.lebnik.Comments/smiles/16.gif",
"http://yapro.ru/javascript/jquery.lebnik.Comments/smiles/15.gif",
"http://yapro.ru/javascript/jquery.lebnik.Comments/smiles/50.gif",
"http://yapro.ru/javascript/jquery.lebnik.Comments/smiles/bandit.gif",
"http://yapro.ru/javascript/jquery.lebnik.Comments/smiles/bug.gif",
"http://yapro.ru/javascript/jquery.lebnik.Comments/smiles/fubar.gif",
"http://yapro.ru/javascript/jquery.lebnik.Comments/smiles/rock.gif",
"http://yapro.ru/javascript/jquery.lebnik.Comments/smiles/smoke.gif"
//End SmileArr[2]!!Последняя ссылка без Запятой!!!
)

SmileArr[3]=new Array(
"http://s018.radikal.ru/i523/1201/47/3ba40ccdd33e.gif", // Юзерский Блок смайлов 2
"http://s017.radikal.ru/i424/1201/49/ac69051b3ba7.gif",
"http://s018.radikal.ru/i518/1201/d5/e4e9b92bb995.gif",
"http://i026.radikal.ru/1201/df/08ee46cb628c.gif",
"http://s57.radikal.ru/i155/1201/eb/8250c9c8280a.gif",
"http://s018.radikal.ru/i520/1201/2c/8e80d8e742e2.gif",
"http://i047.radikal.ru/1201/e5/be6af720d667.gif",
"http://s018.radikal.ru/i520/1201/9e/4055764343e7.gif",
"http://i026.radikal.ru/1201/f6/9f55f1efe10c.gif", 
"http://s018.radikal.ru/i507/1201/40/9516ef67c231.gif", 
"http://s018.radikal.ru/i505/1201/cf/f2cd04d87e1b.gif", 
"http://s018.radikal.ru/i526/1201/7a/7fe8edda6756.gif",
"http://s018.radikal.ru/i517/1201/73/3c10c41e4f0e.gif",
"http://s018.radikal.ru/i508/1201/48/a82a2ca43d04.gif",
"http://s018.radikal.ru/i514/1201/ce/f628e4bd5be0.gif",
"http://s018.radikal.ru/i518/1201/53/3011fc7096d5.gif",
"http://s018.radikal.ru/i508/1201/45/6bb1b85b4bf0.gif",
"http://s018.radikal.ru/i506/1201/03/cf49ae6a59d5.gif", 
"http://s57.radikal.ru/i156/1201/25/3d824834d0b4.gif",
"http://i009.radikal.ru/1201/02/271f8bdaf693.gif",
"http://s017.radikal.ru/i441/1201/37/82a08a686f7d.gif",
"http://s007.radikal.ru/i301/1201/a6/602949f2ec57.gif" //End SmileArr[2]!!Последняя ссылка без Запятой!!!
)

SmileArr[4]=new Array(
"http://s018.radikal.ru/i518/1201/85/7b725b75c419.gif", // Юзерский Блок смайлов 2
"http://s018.radikal.ru/i513/1201/73/0cd29d5b0606.gif",
"http://s018.radikal.ru/i515/1201/b2/33b19b952cf1.gif",
"http://s018.radikal.ru/i509/1201/e2/4bdf0bd3046b.gif",
"http://s017.radikal.ru/i443/1201/27/2b2e1b10d655.gif",
"http://s60.radikal.ru/i168/1201/b4/04ecab6e9976.gif", 
"http://s018.radikal.ru/i506/1201/5b/392a2318d366.gif",
"http://s018.radikal.ru/i509/1201/f7/59fe453eb548.gif",
"http://s017.radikal.ru/i439/1201/23/cdd4e30462c5.gif" //End SmileArr[2]!!Последняя ссылка без Запятой!!!
)

SmileArr[5]=new Array(
"http://s018.radikal.ru/i507/1201/ff/44707a0bc71c.gif", // Юзерский Блок смайлов 2
"http://s44.radikal.ru/i106/1201/b1/2da03d9cb26e.gif",
"http://s018.radikal.ru/i500/1201/7e/bfc4a4e2bc55.gif",
"http://s013.radikal.ru/i322/1201/6b/f63bf385cc1d.gif",
"http://s018.radikal.ru/i513/1201/59/447e8516da06.gif",
"http://s018.radikal.ru/i502/1201/70/9bcd5d70099d.gif",
"http://s017.radikal.ru/i414/1201/e5/2be9ca4af48a.gif",
"http://s017.radikal.ru/i408/1201/ef/e52f8b54c35c.gif",
"http://s018.radikal.ru/i503/1201/b5/7bc38839aafa.gif", 
"http://s014.radikal.ru/i328/1201/0f/adffad2342fa.png", 
"http://s012.radikal.ru/i321/1201/97/afb08fc4434c.png", 
"http://s018.radikal.ru/i503/1201/b3/267b5abc0b1c.png",
"http://s018.radikal.ru/i526/1201/20/b0878b4be8eb.gif",
"http://s018.radikal.ru/i516/1201/e3/7b0b471707e1.gif",
"http://i007.radikal.ru/1201/0d/93af2c8b917b.gif",
"http://s018.radikal.ru/i513/1201/5c/b8dece4ef4cc.gif",
"http://s006.radikal.ru/i213/1201/40/cbf94fcc9b86.gif",
"http://s017.radikal.ru/i405/1201/cc/a583b2124061.gif",
"http://s018.radikal.ru/i517/1201/58/56498deb26fb.gif",
"http://s018.radikal.ru/i515/1201/25/6de60b7939ae.gif",
"http://s018.radikal.ru/i500/1201/b2/fb7cc1222ed4.gif",
"http://s018.radikal.ru/i509/1201/a8/873ba161ab53.gif", 
"http://s018.radikal.ru/i523/1201/60/068b95c44bcb.gif",
"http://s018.radikal.ru/i524/1201/4e/fbaebcb83ea0.gif",
"http://s017.radikal.ru/i442/1201/44/2a770f3db1f2.gif",
"http://s018.radikal.ru/i524/1201/59/86b5e35a13ff.gif",
"http://s007.radikal.ru/i300/1201/41/1b1a7770d284.gif",
"http://s017.radikal.ru/i436/1201/aa/6afd80dd6f94.gif",
"http://s018.radikal.ru/i508/1201/d2/ab6f8146629c.gif",
"http://s018.radikal.ru/i508/1201/7b/8b054f8b31b2.gif" //End SmileArr[2]!!Последняя ссылка без Запятой!!!
)

SmileArr[6]=new Array(
"http://s018.radikal.ru/i506/1201/84/843acd802507.gif", // Юзерский Блок смайлов 2
"http://s018.radikal.ru/i509/1201/ba/d28f3bee4a25.gif",
"http://s018.radikal.ru/i525/1201/1f/8e766044a6b7.gif",
"http://s018.radikal.ru/i503/1201/eb/cea4d275be6f.gif",
"http://www.kolobok.us/smiles/standart/censored.gif",
"http://www.kolobok.us/smiles/standart/ireful3.gif",
"http://www.kolobok.us/smiles/standart/scare2.gif",
"http://www.kolobok.us/smiles/standart/punish2.gif", 
"http://www.kolobok.us/smiles/madhouse/drag.gif", 
"http://www.kolobok.us/smiles/madhouse/gamer4.gif", 
"http://www.kolobok.us/smiles/madhouse/hang3.gif",
"http://www.kolobok.us/smiles/madhouse/girl_hospital.gif",
"http://www.kolobok.us/smiles/madhouse/wacko.gif",
"http://www.kolobok.us/smiles/personal/brunette.gif",
"http://www.kolobok.us/smiles/personal/mamba.gif",
"http://www.kolobok.us/smiles/personal/pig_ball.gif",
"http://www.kolobok.us/smiles/personal/pooh_honey.gif", 
"http://www.kolobok.us/smiles/personal/rabbi.gif",
"http://www.kolobok.us/smiles/he_and_she/feminist.gif",
"http://www.kolobok.us/smiles/he_and_she/girl_cray2.gif",
"http://www.kolobok.us/smiles/he_and_she/girl_devil.gif",
"http://www.kolobok.us/smiles/he_and_she/spruce_up.gif",
"http://www.kolobok.us/smiles/other/heart.gif",
"http://www.kolobok.us/smiles/big_he_and_she/girl_phone2.gif",
"http://www.kolobok.us/smiles/big_he_and_she/girl_wacko.gif",
"http://www.kolobok.us/smiles/big_he_and_she/man_in_love.gif",
"http://www.kolobok.us/smiles/artists/vishenka/d_birthday.gif",
"http://www.kolobok.us/smiles/artists/vishenka/d_clock.gif",
"http://www.kolobok.us/smiles/artists/vishenka/d_guess.gif",
"http://www.kolobok.us/smiles/artists/vishenka/d_ice.gif", 
"http://www.kolobok.us/smiles/artists/vishenka/d_martini.gif",
"http://www.kolobok.us/smiles/artists/vishenka/l_dance.gif",
"http://www.kolobok.us/smiles/artists/vishenka/l_daisy.gif",
"http://www.kolobok.us/smiles/artists/vishenka/l_kiss.gif",
"http://www.kolobok.us/smiles/artists/vishenka/l_sparrow.gif",
"http://www.kolobok.us/smiles/artists/vishenka/l_training.gif",
"http://www.kolobok.us/smiles/artists/vishenka/l_moto.gif",
"http://www.kolobok.us/smiles/artists/just_cuz/JC_cupidgirl.gif",
"http://www.kolobok.us/smiles/artists/just_cuz/JC_burp.gif",
"http://www.kolobok.us/smiles/artists/just_cuz/JC_hulahoop-girl.gif",
"http://www.kolobok.us/smiles/artists/just_cuz/JC_goody.gif",
"http://www.kolobok.us/smiles/artists/just_cuz/JC_OMG_sign.gif",
"http://www.kolobok.us/smiles/artists/just_cuz/JC_pokerface.gif",
"http://www.kolobok.us/smiles/artists/just_cuz/JC_parents-girl.gif",
"http://www.kolobok.us/smiles/artists/just_cuz/JC_rockin.gif",
"http://www.kolobok.us/smiles/artists/just_cuz/JC_spank.gif",
"http://www.kolobok.us/smiles/artists/just_cuz/JC_ThankYou.gif" //End SmileArr[2]!!Последняя ссылка без Запятой!!!
)

SmileArr[7]=new Array(
"http://www.kolobok.us/smiles/artists/mother_goose/MG_07.gif", // Юзерский Блок смайлов 2
"http://www.kolobok.us/smiles/artists/mother_goose/MG_06.gif",
"http://www.kolobok.us/smiles/artists/mother_goose/MG_122.gif",
"http://www.kolobok.us/smiles/artists/mother_goose/MG_132.gif",
"http://s018.radikal.ru/i500/1201/b1/34fb8d320c07.gif",
"http://s018.radikal.ru/i508/1201/c8/c4f86b781b77.gif",
"http://www.kolobok.us/smiles/artists/mother_goose/MG_18.gif",
"http://www.kolobok.us/smiles/artists/mother_goose/MG_30.gif",
"http://www.kolobok.us/smiles/artists/mother_goose/MG_16.gif", 
"http://www.kolobok.us/smiles/artists/mother_goose/MG_198.gif", 
"http://www.kolobok.us/smiles/artists/mother_goose/MG_233.gif",
"http://www.kolobok.us/smiles/artists/mother_goose/MG_238.gif",
"http://www.kolobok.us/smiles/artists/mother_goose/MG_251.gif",
"http://www.kolobok.us/smiles/artists/mother_goose/MG_260.gif",
"http://www.kolobok.us/smiles/artists/mother_goose/MG_272.gif",
"http://www.kolobok.us/smiles/artists/connie/connie_08.gif",
"http://www.kolobok.us/smiles/artists/connie/connie_16.gif", 
"http://www.kolobok.us/smiles/artists/connie/connie_33.gif",
"http://www.kolobok.us/smiles/artists/connie/connie_36.gif",
"http://www.kolobok.us/smiles/artists/connie/connie_38.gif",
"http://www.kolobok.us/smiles/artists/connie/connie_37.gif",
"http://www.kolobok.us/smiles/artists/connie/connie_41.gif",
"http://www.kolobok.us/smiles/artists/connie/connie_43.gif",
"http://www.kolobok.us/smiles/artists/connie/connie_caveman-1.gif",
"http://www.kolobok.us/smiles/artists/connie/connie_finishline.gif",
"http://www.kolobok.us/smiles/artists/connie/connie_wimperingbaby.gif",
"http://www.kolobok.us/smiles/artists/connie/connie_sleepymoon.gif",
"http://www.kolobok.us/smiles/artists/connie/connie_skilletgirl.gif",
"http://www.kolobok.us/smiles/artists/connie/connie_mama.gif",
"http://www.kolobok.us/smiles/artists/laie/Laie_11.gif", 
"http://www.kolobok.us/smiles/artists/laie/Laie_23.gif",
"http://www.kolobok.us/smiles/artists/laie/laie_18.gif",
"http://www.kolobok.us/smiles/artists/laie/Laie_29.gif",
"http://www.kolobok.us/smiles/artists/laie/Laie_28.gif",
"http://www.kolobok.us/smiles/artists/laie/Laie_48.gif",
"http://www.kolobok.us/smiles/artists/laie/Laie_61.gif" //End SmileArr[2]!!Последняя ссылка без Запятой!!!
)
N_max=SmileArr.length;Nmax=N_max-1 //
</script><!--End ScrollboxSmilies -->




<!-- Cтрелочки -Вверх вниз страницы -->
<div style="position:fixed;z-index:1003; right :0.5%; bottom: 45%;">
<a href="#top" onclick="scrollTo(0,0); return false;" title="Вверх страницы">
<img src="http://russia-west.ru/uploads/000a/78/7a/16384-1.png" alt="Вверх страницы"/>
</a>
<br/>
<br/>
<a href="#top" onclick="scrollTo(0, document.body.scrollHeight); return false;" title="Вниз страницы">
<img src="http://russia-west.ru/uploads/000a/78/7a/16384-2.png" alt="Вниз страницы"/>
</a>
</div><!--Конец Cтрелочки -->





<!--цвет слов-->
<script type="text/javascript">
inColor("red", new Array("Объявления по форуму!"))
inColor("#FC0032", new Array("Damla"))
inColor("#0000AA", new Array("Elnara"))
inColor("#0000AA", new Array("VrEdiNkA"))
inColor("#FFFC17", new Array("для Админа"))
inColor("#F75D59", new Array("Россия"))
inColor("#E41B17", new Array("Україна"))
inColor("#E55B3C", new Array("Турция"))
inColor("#F87431", new Array("Восточные и европейские страны"))
inColor("#F76541", new Array("Христианство - Xristianlıq"))
function inColor(color, myarray){
var a=document.links
for(i=0;i<a.length;i++){
for(q=0;q<myarray.length;q++){
if(a[i].innerHTML==myarray[q]){
a[i].innerHTML="<span style=\"color: "+color+";\">"+myarray[q]+"</span>"
}}}}
</script>


<script><!--Выборочное маркирование изображений v.2 -->
  $(document).ready(function(){
   $("div.post-content strong img.postimg").css("display","inline-block");
   imgMarking = "http://s003.radikal.ru/i204/1202/5e/5e8ad3a67fda.png" // Ссылка на рисунок маркер
   var imgURL
   var x;
   var y;
   var s;
   var inb

    $("div.post-content strong img.postimg").each(function () {
    x = this.offsetWidth;
    y = this.offsetHeight;
    inb = $(this).parent().get(0).tagName;
    if ((x>80&&y>80)&&(inb == "STRONG")) {
    $(this).css("width",x+"px");
    $(this).css("height",y+"px");
    imgURL = $(this).attr("src");
    $(this).attr("src",imgMarking);
    $(this).attr("alt","");
    $(this).css("background-image","url("+imgURL+")");
      }
  });
});
</script><!--Конец//Выборочное маркирование v.2 -->





<table width="100%" border="0">
<tr align="center">
<td>


<!-- Календари -->
<!-- Informer www.calend.ru --><a href="http://www.calend.ru/holidays/azerbaijan/" target="_blank"><img src="http://www.calend.ru/img/export/informer_50.png" width="150" alt="Праздники Азербайджана" border=0></a><!-- // Informer www.calend.ru -->
<!-- Informer www.calend.ru --><a href="http://www.calend.ru/holidays/russtate/" target="_blank"><img src="http://www.calend.ru/img/export/informer_1.png" width="150" alt="Праздники России" border=0></a><!-- // Informer www.calend.ru -->
<!-- Informer www.calend.ru --><a href="http://www.calend.ru/holidays/ukraine/" target="_blank"><img src="http://www.calend.ru/img/export/informer_6.png" width="150" alt="Праздники Украины" border=0></a><!-- // Informer www.calend.ru -->
<!-- Informer www.calend.ru --><a href="http://www.calend.ru/holidays/turkish/" target="_blank"><img src="http://www.calend.ru/img/export/informer_33.png" width="150" alt="Праздники Турции" border=0></a><!-- // Informer www.calend.ru -->
<!-- Informer www.calend.ru --><a href="http://www.calend.ru/holidays/islam/" target="_blank"><img src="http://www.calend.ru/img/export/informer_5.png" width="150" alt="Мусульманские праздники" border=0></a><!-- // Informer www.calend.ru -->
<br />

<table width="100%" border="0">
<tr align="center">
<td>

<!-- Счетчики -->
<!-- MyCounter v.2.0 -->
<script type="text/javascript"><!--
my_id = 113761;
my_width = 88;
my_height = 31;
my_alt = "MyCounter - счётчик и статистика";
//--></script>
<script type="text/javascript"
  src="http://scripts.mycounter.ua/counter2.0.js">
</script><noscript>
<a target="_blank" href="http://mycounter.ua/"><img
src="http://get.mycounter.ua/counter.php?id=113761"
title="MyCounter - счётчик и статистика"
alt="MyCounter - счётчик и статистика"
width="88" height="31" border="0" /></a></noscript>
<!--/ MyCounter -->

<!--Openstat-->
<span id="openstat2231704"></span>
<script type="text/javascript">
var openstat = { counter: 2231704, image: 5081, color: "ff001c", next: openstat, track_links: "ext" };
(function(d, t, p) {
var j = d.createElement(t); j.async = true; j.type = "text/javascript";
j.src = ("https:" == p ? "https:" : "http:") + "//openstat.net/cnt.js";
var s = d.getElementsByTagName(t)[0]; s.parentNode.insertBefore(j, s);
})(document, "script", document.location.protocol);
</script>
<!--/Openstat-->

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-28738937-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>

<!--mernik counter start-->
<span id='Mernik_Image'></span>
<script type='text/javascript'>
var SID=1568;
(function(){ var t='text/javascript', h, s, u, d=document, l='http://az1s.countby.com/code.js';
try { h=d.getElementsByTagName('head')[0]; s=d.createElement('script');
s.src=l; s.type=t; h.appendChild(s); }catch(e){
u='%3Cscript%20src="'+l+'"%20type="'+t+'"%3E%3C/script%3E'; d.write(unescape(u));}})();
</script><noscript>
<a target='_top' href='http://www.day.az/'>
<img src='http://az1c.countby.com/cnt?id=1568' border='0' alt='' />
</a>
</noscript>
<!--mernik counter end-->


<!-- Прогноз погоды -->
<script>URL="http://img.gismeteo.ru/flash/120x60_2.swf?city=37850&cset=5";w="120";h="60";value="37850&cset=5";lang="ru";</script><script src="http://img.gismeteo.ru/flash/fcode.js"></script>

<a href="http://meyxana.net" target="_blank"><img src="http://i031.radikal.ru/1202/1f/595835e46e68.gif" alt ="www.meyxana.net" title ="Лучший сайт для любителей мейханы"> </a>

</td>
</tr>
</table>

<!-- Копирайт форума-->
<table width="100%" border="0">
<tr align="center">
<td>
<br/>
<span style="color:#000000; font-family:Microsoft Sans Serif; font-size:17px;">© AZ-love.com 2008-2012. При использовании любого материала с нашего сайта -  ссылка обязательна!</span>
<br/><br/>

<a href="http://copyright.ru"><img src="http://copyright.ru/images/TMCIMG/copyright_1.gif" alt ="www.copyright.ru" title ="Copyright защита прав"></a><br/>

<span style="color:#000000; font-family:Microsoft Sans Serif; font-size:12px;">Copyright © 2008-2012 . Пользовательское соглашение</span>
</td>
</tr>
</table>

<!--замена онлайн-офлайн-->
<script type="text/javascript">
var we=document.getElementsByTagName("ul")
var x=0
for (x=0; x<=(we.length-1); x++)
{if (we[x].innerHTML.indexOf("pa-online")!=-1)
{we[x].innerHTML=we[x].innerHTML.substring(0, (we[x].innerHTML.indexOf("pa-online")-11))+"<center><img src='http://i036.radikal.ru/0710/25/ce59f1c657c3.gif' /></center>"}
else if ((we[x].innerHTML.indexOf("pa-online")==-1)&&(we[x].innerHTML.indexOf("pa-author")!=-1))
{we[x].innerHTML=we[x].innerHTML+"<center><img src='http://i045.radikal.ru/0710/a5/619d72968968.gif' /></center>"}
}
</script>

<script language="javascript">
Min=10;
for (p=1;p<=Min;p++) {$('#poll-special tr:nth-child('+p+') td:not(".tac")').addClass('e'+p+''); }
$('div#poll-special td[class^="e"] h1').each(function() {
$(this).data('origWidth', $(this).width()).width(0).animate({width: $(this).data('origWidth')}, 1200);
});
</script>




<style type="text/css">
div#poll-special td[class^="e"] h1{-moz-border-radius: 25px;-webkit-border-radius: 25px;border-radius: 25px;}
div#poll-special td.e2 h1 {background-color: #f0a3a3;
background-image: -moz-linear-gradient(top, #f0a3a3, #f42323);
background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #f0a3a3),color-stop(1, #f42323));
background-image: -webkit-linear-gradient(#f0a3a3, #f42323);
background-image: -o-linear-gradient(top, #f0a3a3, #f42323);
}
div#poll-special td.e3 h1 {background-color: #f1a165;
background-image: -moz-linear-gradient(top, #f1a165, #f36d0a);
background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #f1a165),color-stop(1, #f36d0a));
background-image: -webkit-linear-gradient(#f1a165, #f36d0a);
background-image: -o-linear-gradient(top, #f1a165, #f36d0a);
}
div#poll-special td.e4 h1 {background-color: rgb(43,194,83);
background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, rgb(43,194,83)),color-stop(1, rgb(84,240,84)));
background-image: -moz-linear-gradient(center bottom,rgb(43,194,83) 37%,rgb(84,240,84) 69%);
background-image: -o-linear-gradient(bottom,rgb(43,194,83),rgb(84,240,84));
}
</style>

<script type="text/javascript">
dCol='ff0000';//цвет даты
fCol='0000ff';//лицевой цвет.
sCol='000000';//секунды
mCol='000000';//минуты
hCol='000000';//часы
ClockHeight=30;
ClockWidth=30;
ClockFromMouseY=0;
ClockFromMouseX=100;
d=new Array("Воскресенье","Понедельник","Вторник","Среда","Четверг","Пятница","Суббота");
m=new Array("Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабр");
date=new Date();
day=date.getDate();
year=date.getYear();
if (year < 2000) year=year+1900;
TodaysDate=" "+d[date.getDay()]+" "+m[date.getMonth()]+" "+day+" "+year;
D=TodaysDate.split('');
H='...';
H=H.split('');
M='....';
M=M.split('');
S='.....';
S=S.split('');
Face='1 2 3 4 5 6 7 8 9 10 11 12';
font='Arial';
size=1;
speed=0.6;
ns=(document.layers);
ie=(document.all);
Face=Face.split(' ');
n=Face.length;
a=size*10;
ymouse=0;
xmouse=0;
scrll=0;
props="<span style='color: "+fCol+"; text-align: center; font-weight: bold;'>";
props2="<span style='color: "+dCol+"; text-align: center; font-weight: bold;'>";
Split=360/n;
Dsplit=360/D.length;
HandHeight=ClockHeight/4.5
HandWidth=ClockWidth/4.5
HandY=-7;
HandX=-2.5;
scrll=0;
step=0.06;
currStep=0;
y=new Array();x=new Array();Y=new Array();X=new Array();
for (i=0; i < n; i++){y[i]=0;x[i]=0;Y[i]=0;X[i]=0}
Dy=new Array();Dx=new Array();DY=new Array();DX=new Array();
for (i=0; i < D.length; i++){Dy[i]=0;Dx[i]=0;DY[i]=0;DX[i]=0}
if (ns){
for (i=0; i < D.length; i++)
document.write('<layer name="nsDate'+i+'" top=0 left=0 height='+a+' width='+a+'>'+props2+D[i]+'</span></layer>');
for (i=0; i < n; i++)
document.write('<layer name="nsFace'+i+'" top=0 left=0 height='+a+' width='+a+'>'+props+Face[i]+'</span></layer>');
for (i=0; i < S.length; i++)
document.write('<layer name=nsSeconds'+i+' top=0 left=0 width=15 height=15><span style="color: '+sCol+';  text-align: center; font-weight: bold;">'+S[i]+'</span></layer>');
for (i=0; i < M.length; i++)
document.write('<layer name=nsMinutes'+i+' top=0 left=0 width=15 height=15><span style="color: '+mCol+';  text-align: center; font-weight: bold;">'+M[i]+'</span></layer>');
for (i=0; i < H.length; i++)
document.write('<layer name=nsHours'+i+' top=0 left=0 width=15 height=15><span style="color: '+hCol+';  text-align: center; font-weight: bold;">'+H[i]+'</span></layer>');
}
if (ie){
document.write('<div id="Od" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i=0; i < D.length; i++)
document.write('<div id="ieDate" style="position:absolute;top:0px;left:0;height:'+a+';width:'+a+';text-align:center">'+props2+D[i]+'</span></div>');
document.write('</div></div>');
document.write('<div id="Of" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i=0; i < n; i++)
document.write('<div id="ieFace" style="position:absolute;top:0px;left:0;height:'+a+';width:'+a+';text-align:center">'+props+Face[i]+'</span></div>');
document.write('</div></div>');
document.write('<div id="Oh" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i=0; i < H.length; i++)
document.write('<div id="ieHours" style="position:absolute;width:16px;height:16px;font-family:Arial;font-size:16px;color:'+hCol
+';text-align:center;font-weight:bold">'+H[i]+'</div>');
document.write('</div></div>');
document.write('<div id="Om" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i=0; i < M.length; i++)
document.write('<div id="ieMinutes" style="position:absolute;width:16px;height:16px;font-family:Arial;font-size:16px;color:'+mCol+';text-align:center;font-weight:bold">'+M[i]+'</div>');
document.write('</div></div>')
document.write('<div id="Os" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i=0; i < S.length; i++)
document.write('<div id="ieSeconds" style="position:absolute;width:16px;height:16px;font-family:Arial;font-size:16px;color:'+sCol+';text-align:center;font-weight:bold">'/a/a
,,,,+S[i]+'</div>');
document.write('</div></div>')
}
(ns)?window.captureEvents(Event.MOUSEMOVE):0;
function Mouse(evnt){
ymouse = (ns)?evnt.pageY+ClockFromMouseY-(window.pageYOffset):event.y+ClockFromMouseY;
xmouse = (ns)?evnt.pageX+ClockFromMouseX:event.x+ClockFromMouseX;
}
(ns)?window.onMouseMove=Mouse:document.onmousemove=Mouse;
function ClockAndAssign(){
time = new Date ();
secs = time.getSeconds();
sec = -1.57 + Math.PI * secs/30;
mins = time.getMinutes();
min = -1.57 + Math.PI * mins/30;
hr = time.getHours();
hrs = -1.575 + Math.PI * hr/6+Math.PI*parseInt(time.getMinutes())/360;
if (ie){
Od.style.top=window.document.body.scrollTop;
Of.style.top=window.document.body.scrollTop;
Oh.style.top=window.document.body.scrollTop;
Om.style.top=window.document.body.scrollTop;
Os.style.top=window.document.body.scrollTop;
}
for (i=0; i < n; i++){
 var F=(ns)?document.layers['nsFace'+i]:ieFace[i].style;
 F.top=y[i] + ClockHeight*Math.sin(-1.0471 + i*Split*Math.PI/180)+scrll;
 F.left=x[i] + ClockWidth*Math.cos(-1.0471 + i*Split*Math.PI/180);
 }
for (i=0; i < H.length; i++){
 var HL=(ns)?document.layers['nsHours'+i]:ieHours[i].style;
 HL.top=y[i]+HandY+(i*HandHeight)*Math.sin(hrs)+scrll;
 HL.left=x[i]+HandX+(i*HandWidth)*Math.cos(hrs);
 }
for (i=0; i < M.length; i++){
 var ML=(ns)?document.layers['nsMinutes'+i]:ieMinutes[i].style;
 ML.top=y[i]+HandY+(i*HandHeight)*Math.sin(min)+scrll;
 ML.left=x[i]+HandX+(i*HandWidth)*Math.cos(min);
 }
for (i=0; i < S.length; i++){
 var SL=(ns)?document.layers['nsSeconds'+i]:ieSeconds[i].style;
 SL.top=y[i]+HandY+(i*HandHeight)*Math.sin(sec)+scrll;
 SL.left=x[i]+HandX+(i*HandWidth)*Math.cos(sec);
 }
for (i=0; i < D.length; i++){
 var DL=(ns)?document.layers['nsDate'+i]:ieDate[i].style;
 DL.top=Dy[i] + ClockHeight*1.5*Math.sin(currStep+i*Dsplit*Math.PI/180)+scrll;
 DL.left=Dx[i] + ClockWidth*1.5*Math.cos(currStep+i*Dsplit*Math.PI/180);
 }
currStep-=step;
}
function Delay(){
scrll=(ns)?window.pageYOffset:0;
Dy[0]=Math.round(DY[0]+=((ymouse)-DY[0])*speed);
Dx[0]=Math.round(DX[0]+=((xmouse)-DX[0])*speed);
for (i=1; i < D.length; i++){
Dy[i]=Math.round(DY[i]+=(Dy[i-1]-DY[i])*speed);
Dx[i]=Math.round(DX[i]+=(Dx[i-1]-DX[i])*speed);
}
y[0]=Math.round(Y[0]+=((ymouse)-Y[0])*speed);
x[0]=Math.round(X[0]+=((xmouse)-X[0])*speed);
for (i=1; i < n; i++){
y[i]=Math.round(Y[i]+=(y[i-1]-Y[i])*speed);
x[i]=Math.round(X[i]+=(x[i-1]-X[i])*speed);
}
ClockAndAssign();
setTimeout('Delay()',20);
}
if (ns||ie)window.onload=Delay;
</script>

<!--новое ЛС-->
<script language="JavaScript"> 
if((document.getElementById("navpm").innerHTML.indexOf("(") != -1) && (document.URL.indexOf("messages.php") == -1)) {
document.write("<div id='messanger' class='section' style='position: fixed; right: 40%; top: 55%; z-index: 1000; width: 270px; height: 5px;'><h2 style='background-color: #C11B17; color: #f7e8de; text-align: center;'><b>Личное сообщение!</b></h2><div class='container,' style='padding: 10px; text-align: center; background-color: #F9966B'><span></span><span style='color: #4f260a;'>прочитать?</span><br/><br/><a class='mess' '/messages.php'); return false\" style='background-color: #edecea; border-style: none; cursor: pointer; font-size: 13px;' >&nbsp;&nbsp;&nbsp;OK&nbsp;&nbsp;&nbsp;</a></div><embed height='1' width='1' type='application/x-shockwave-flash' wmode='transparent' quality='high' src='http://promobil.kiev.ua/engine/classes/flashplayer/media_player.swf?MediaLink=http://k004.kiwi6.com/hotlink/5tzpbuul92/034_f_agayev_nazli_dilberim2.mp3&amp;defaultMedia=1&amp;showPlayButton=false&amp;playOnStart=true'></div>");}
$(function(){$('.mess').click(function(){
$('#messanger').toggle();}); });
</script>

0

327

Romych

У меня форум http://serrok.mybb.ru

Музыка с сервиса ЯП файлы тоже воспроизводится при установке вашего скрипта <!--audio в одном v.2.4-->. Если брать ту ссылку, что предлагается для скачивания. И это хорошо. И большое спасибо.

Но очень заманчиво иметь возможность воспроизведения как BB-код (флеш).

http://www.nicegoing.ru/zm1021/img_zdvjkrf85xazl1wu5m3_63224.png

А ещё приятней было бы иметь возможность вставлять эту музыку и с видеорядом.

http://www.nicegoing.ru/zm1021/img_w1d74xsndh999mtak_63228.png

Или такой скипт надо искать в другом месте? Не нашел, извините.

0

328

serrok написал(а):

Или такой скипт надо искать в другом месте? Не нашел, извините.

скрипт плеера под формат .flv я писал давно, он лежит где-то в Корзине, в теме - Скрипт для видео скрипт правда старый

+1

329

Romych написал(а):

скрипт плеера под формат .flv я писал давно

Угу, до сей поры пользуюсь, за что примного благодарна)
Demo правда немного сам плеер переделала)

+1

330

По этой ссылке нашел метод установки музыки
в постах. Ссылка__смотреть здесь !
В принципе все работает только плеер отображается
как  для просмотра видео, нельзя ли его уменьшить
до размеров автора. Не хочется заходить на другой форум.

Пример:

http://static.video.yandex.ru/lite-audio/meta-trader2007/hjy4c0ykng.2922/

Пробовал менять размеры в коде, не меняется...
Подскажите, кто понимает. Спасибо.

Отредактировано gaadst (Пт, 6 Апр 2012 19:34:54)

0

331

небольшое дополнение к Универсальному аудиоплееру,  добавлена возможность вставлять в посты треки с известной музыкальной он-лайн платформы SoundCloud - http://soundcloud.com

http://i1028.photobucket.com/albums/y350/milkysummer/SoundCloud-Logo-2.png

проект довольно таки распространён на западе и имеет функции социальной сети, треки можно лайкать, добавлять комментарии и т.д. Регистрация не требуется для прослушивания и загрузки. Бесплатное прослушивание без ограничений/Платная загрузка только сверх установленного лимита.

выбираем понравившийся трек, жмём кнопку Share http://s1.uploads.ru/i/QWsmE.png встроенную в плеер

http://s1.uploads.ru/i/E5pqP.png

и копируем код из строки Embed Code (у меня на скрине не верно изображено, нужная строка вторая)
http://s1.uploads.ru/i/Oz9ca.png
получаем примерно вот такой код фрейма:

Код:
<iframe width="100%" height="166" scrolling="no" frameborder="no" src="http://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F56170019&show_artwork=true"></iframe>

и вставляем его между тегами [audio ]

Код:
[audio]<iframe width="100%" height="166" scrolling="no" frameborder="no" src="http://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F56170019&show_artwork=true"></iframe>[/audio]

публикуем и получаем в посте требуемый трек ;)
ДЕМО
собственно сам скрипт:

Универсальный аудиоплеер v.2.5.1

в html-низ:

Код:
<!--audio в одном v.2.5.1-->
<script type="text/javascript">
var player;
$(function(){
$('td#button-code').before('<td style=\'background-image:url("http://uploads.ru/i/W/Q/P/WQPBO.gif");background-position:center center;\' onclick="tag_play()"><img src="/i/blank.gif" title="Загрузить музыку"></td>');
$('div.post-content p').map(function () {
text = $(this).html(); 
if(text.indexOf("zippyshare.com") != -1) {
player = /\[audio\]http:\/\/www(\d+)\.zippyshare\.com\/v\/(.*?)\/file\.html\[\/audio\]/gi
$(this).html(text.replace(player, "<br /><embed type='application/x-shockwave-flash' src='http://api.zippyshare.com/api/mediaplayer/mediaplayer.swf' flashvars='height=20&amp;width=400&amp;file=http://www$1.zippyshare.com/downloadMusic%3Fkey%3D$2%26&amp;volume=80&amp;autostart=false&amp;frontcolor=0x000000&amp;backcolor=0xffffff&amp;lightcolor=0x000000&amp;type=flv' quality='high' menu='false' wmode='transparent' allowscriptaccess='always' height='20' width='400' name='mp3player' border='0' style='margin-bottom: 6px;'/>"));}
if(text.indexOf("promodj.com") != -1) {
player = /\[audio\](.*?)promodj\.com\/(.*?)\/(\d+)\/(.*?)\[\/audio\]/gim
$(this).html(text.replace(player, "<br /><iframe src='http://promodj.com/embed/$3/big' width='100%' height='70' style='min-width: 450px; max-width: 900px' frameborder='0' allowfullscreen></iframe>"));
}
if(text.indexOf("prostopleer.com") != -1) {
player = /\[audio\](.*?)\/tracks\/(.*?)\[\/audio\]/gi
$(this).html(text.replace(player, "<br /><embed src='http://embed.prostopleer.com/track?id=$2' type='application/x-shockwave-flash'  wmode='transparent' width='411' height='28'></embed>"));
}
if(text.indexOf("soundcloud.com") != -1) {
player = /\[audio\]&lt;iframe width=\"100%\" height=\"166\" scrolling=\"no\" frameborder=\"no\" src=\"(.*?)soundcloud\.com(.*?)\"&gt;&lt;\/iframe&gt;\[\/audio\]/gim
$(this).html(text.replace(player, "<br /><iframe width='100%' height='166' scrolling='no' frameborder='no' src='$1soundcloud.com$2'></iframe>"));
}
if(text.indexOf(".mp3") != -1) {
player = /\[audio\](http:\/\/[^\s<"]+?.mp3)\[\/audio\]/gi
$(this).html(text.replace(player, "<br /><embed src='http://www.demo-music.ru/pleer/pleer4.swf' type='application/x-shockwave-flash' allowscriptaccess='always' wmode='transparent' flashvars='comment=demo-music.ru&amp;st=http://www.demo-music.ru/pleer/style_pleer.txt&amp;file=$1' width='470' height='33'>"));
}  });  });
function tag_play()
{var FoundErrors = '';
var enterURL = prompt("Введите ссылку на на музыку с promodj.com, zippyshare.com, prostopleer.com, soundcloud.com или прямую ссылку формата .mp3 ", "http://");
if (!enterURL)
{FoundErrors += " " + error_no_url;}
if (FoundErrors)
{alert("Ошибка!" + FoundErrors);
return;}
insert("[audio]" + enterURL + "[/audio]");}
</script>

Отредактировано Romych (Вт, 14 Авг 2012 17:01:39)

0

332

Frimen написал(а):

Промодиджей  не работает.

Ставлю прямую ссылку, плеер песню не грузит.

Frimen
спасибо за сообщение, действительно была трабла с промоdj из-за того, что проект ушёл из доменной зоны ru в международную com, соответственно все ссылки поменялись
и во-вторых, как и большинство современных проектов, которые отказались от flash плееров, код плеера теперь основывается не на тегах <embed>, а выдаётся фреймом ( <iframe> ), но при этом фрейм позволяет привязаться к прямой ссылке на трек, так что скрипт по прежнему работает с ссылками на треки типа:

Код:
http://promodj.com/EXITproject/tracks/3364990/EXIT_project_Inner_Monster_live_2011_v2
или
http://promodj.com/djwoody/promos/3445100/Dj_Woody_The_real_mixes_Vol_2

плеер с исправлениями перезалил в пост №480, теперь актуальная версия плеера - v.2.5.1
тестируйте

Maquis написал(а):

Не работает плеер

Maquis
а по конкретнее? с какими ссылками не работает?

kosoy написал(а):

Сложный скрипт, для новичков не понятен + анлийская версия ресурса

kosoy
дык скрипт работает с русскоязычным проектом - http://prostopleer.com/ (который понятен всем)
и с прямыми для скачивания ссылками на файлы формата .mp3
так что каждый пользователь должен найти для себя удобный способ вставлять любимую музыку в пост, а скрипт призван в этом ему помочь ;)

0

333

kosoy написал(а):

а можно ли сделать чтоб выводилась типа ссылки на сайт prostopleer.com (только его 1)
Вот к примеру, в форме ответа тыкнул на значок музыки, там ссылка на сайт по которой можно перейти туда, ну ченить тип такого) сам же знаешь, чем проще и понятней - тем удобней)

Makarius написал(а):

Это точно! Хотелось бы попроще в обращении и понадежнее, наподобие автомата Калашникова!

kosoy, Makarius, Maquis

испытайте вот эту версию плеера с загрузчиком (попытался максимально всё упростить и сделать понятным)

в html-верх:

Код:
<style type="text/css">
.my {background-color: #FFFFFF;color: #488baa;font-size: 12px;font-family: Tahoma;line-height: 125%;border-radius: 15px;-webkit-border-radius: 15px;-khtml-border-radius: 15px;-mozborder-radius: 15px;-o-border-radius: 15px;-moz-box-shadow: inset 0 0 1em #8cb9d6;-webkit-box-shadow: inset 0 0 1em #8cb9d6;box-shadow: inset 0 0 1em #8cb9d6;filter: progid:DXImageTransform.Microsoft.Shadow(color='#8cb9d6', Direction=145, Strength=3);
}
#fon{position: fixed;z-index:2;top:0;left:0;height:100%;width:100%;background-color:#000;filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50); -moz-opacity:0.5;-khtml-opacity:0.5;opacity:0.5;}
</style>

в html-низ:

Код:
<!--audio-плеер с загрузкой-->
<script type="text/javascript">$('td#button-code').before('<td id="mus" style=\'background-image:url("http://uploads.ru/i/W/Q/P/WQPBO.gif");background-position:center center;\' onclick="return changeVisibility(\'musicbox\', this);"><img src="/i/blank.gif" title="Загрузить музыку"></td>');$('#mus').click(function(){$('#musicbox').before('<div id="fon"></div>');});$('div.post-content p').map(function(){text=$(this).html();if(text.indexOf(".mp3")!=-1){var player=/\[audio\](http:\/\/[^\s<"]+?.mp3)\[\/audio\]/gim;$(this).html(text.replace(player,"<br /><embed src='http://www.demo-music.ru/pleer/pleer4.swf' type='application/x-shockwave-flash' allowscriptaccess='always' wmode='transparent' flashvars='comment=demo-music.ru&amp;st=http://www.demo-music.ru/pleer/style_pleer.txt&amp;file=$1' width='470' height='33'>"));}});</script><div class="my"align="center"id="musicbox"style="display:none;width:480px;padding:8px;position:fixed;top:25%;right:35%;z-index:900;"class="container"><strong>Загрузить музыку</strong><br><iframe src="http://klopp.net.ru/files/"width="478"height="280"frameborder="no"></iframe><textarea id="track"cols="40"rows="3"style="width: 90%;background:#f0f8ff;"onfocus="this.select()">вставьте сюда полученную ссылку на mp3</textarea><button type=button onclick="var ur=document.getElementById('track').value;insert('[audio]'+ur+'[/audio]');changeVisibility('musicbox');var d=document.getElementById('fon');d.parentNode.removeChild(d);">Вставить в сообщение</button><button type="reset"onclick="changeVisibility('musicbox');var d=document.getElementById('fon');d.parentNode.removeChild(d);">Отмена</button></div>

+4

334

Makarius написал(а):

Отзывы поступили такие: мол, не очень понятно, как с этим работать.

а что конкретно смущает? лишнее поле для идентификатора и описание к нему?

Геннадий Бордуков написал(а):

Здравствуйте!
На форуме у себя выложил тему про посещение Храма Гроба Господня в Иерусалиме.
http://borgen.mybb.ru/viewtopic.php?id=422
Хочу спросить: если возможность сделать так, чтобы во всех постах темы звучала музыка, например, песня "Безвоздушная тревога" группы БИ-2?
Зараннее спасибо.

Геннадий Бордуков почитайте вот эту тему - Музыка фона (фоновая музыка на главной странице) в ней должно быть то что вы ищите

0

335

Здравствуйте, хотелось бы узнать возможно ли сконструировать из этих скриптов:

1.

верх

Код:
<style type="text/css">
.my {background-color: #FFFFFF;color: #488baa;font-size: 12px;font-family: Tahoma;line-height: 125%;border-radius: 15px;-webkit-border-radius: 15px;-khtml-border-radius: 15px;-mozborder-radius: 15px;-o-border-radius: 15px;-moz-box-shadow: inset 0 0 1em #8cb9d6;-webkit-box-shadow: inset 0 0 1em #8cb9d6;box-shadow: inset 0 0 1em #8cb9d6;filter: progid:DXImageTransform.Microsoft.Shadow(color='#8cb9d6', Direction=145, Strength=3);
}
#fon{position: fixed;z-index:2;top:0;left:0;height:100%;width:100%;background-color:#000;filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50); -moz-opacity:0.5;-khtml-opacity:0.5;opacity:0.5;}
</style>

низ

Код:
<!--audio-плеер с загрузкой-->
<script type="text/javascript">$('td#button-code').before('<td id="mus" style=\'background-image:url("http://uploads.ru/i/W/Q/P/WQPBO.gif");background-position:center center;\' onclick="return changeVisibility(\'musicbox\', this);"><img src="/i/blank.gif" title="Загрузить музыку"></td>');$('#mus').click(function(){$('#musicbox').before('<div id="fon"></div>');});$('div.post-content p').map(function(){text=$(this).html();if(text.indexOf(".mp3")!=-1){var player=/\[audio\](http:\/\/[^\s<"]+?.mp3)\[\/audio\]/gim;$(this).html(text.replace(player,"<br /><embed src='http://www.demo-music.ru/pleer/pleer4.swf' type='application/x-shockwave-flash' allowscriptaccess='always' wmode='transparent' flashvars='comment=demo-music.ru&amp;st=http://www.demo-music.ru/pleer/style_pleer.txt&amp;file=$1' width='470' height='33'>"));}});</script><div class="my"align="center"id="musicbox"style="display:none;width:480px;padding:8px;position:fixed;top:25%;right:35%;z-index:900;"class="container"><strong>Загрузить музыку</strong><br><iframe src="http://klopp.net.ru/files/"width="478"height="280"frameborder="no"></iframe><textarea id="track"cols="40"rows="3"style="width: 90%;background:#f0f8ff;"onfocus="this.select()">вставьте сюда полученную ссылку на mp3</textarea><button type=button onclick="var ur=document.getElementById('track').value;insert('[audio]'+ur+'[/audio]');changeVisibility('musicbox');var d=document.getElementById('fon');d.parentNode.removeChild(d);">Вставить в сообщение</button><button type="reset"onclick="changeVisibility('musicbox');var d=document.getElementById('fon');d.parentNode.removeChild(d);">Отмена</button></div>
2.

низ

Код:
<!--Универсальный mp3 плеер-->
<style type="text/css">
#button-mp3 {background-image:url('http://img413.imageshack.us/img413/5702/sound3.gif'); padding:0; line-height:0; background-position:center; background-repeat:no-repeat}
</style>
<script type="text/javascript">
function addSpoiler_mp3(str,from,internal){
    var pos=0,pos2=0,newpos=0
    if((pos=str.indexOf("[mymp3]",from))==-1) return str;
    if((pos2=str.indexOf("[/mymp3]"),pos+8)==-1) return str;
    newpos=str.indexOf("[mymp3]",pos+8)
    if(newpos<pos2 && newpos!=-1) str=addSpoiler_mp3(str,pos+8,true)
    if((pos2=str.indexOf("[/mymp3]",pos+8))==-1) return str;
    txt = str.substring(pos+7,pos2);
    if((sepPos=txt.indexOf("|",0))==-1) return str;
    str=str.substring(0,pos)+makeSpoiler_mp3(txt.substring(0,sepPos),txt.substring(sepPos+1,txt.length))+str.substring(pos2+8,str.length)
    if( str.indexOf("[mymp3]")!=-1 && internal==false) str=addSpoiler_mp3(str,0,false)
    return str
}

function makeSpoiler_mp3(txt1,txt2){
    txt='<br /><embed type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" src="http://www.enricolai.com/FMP3/FMP3.swf" quality="high" allowscriptaccess="sameDomain" flashvars="vol=80&action=stop&title='+txt2+'&color=000000&textcolor=ffffff&loop=no&lma=no;height=60&amp;width=260&amp;mp3='+txt1+'" height="60" width="260">';
    return txt;
    }
    
    var popup;
        function popmp3()
        {
        popup = window.open("http://klopp.net.ru/files/","popDialog","height=380,width=440")
        if (!document.all)  {popup.moveTo(100,100);}
        return false
        }
        
        function tag_urlm()
        {var FoundErrors = '';
        var enterURL = prompt("Введите ссылку на mp3 файл", "http://");
        var enterTITLE = prompt("Введите автора и название песни", "Песня");
        if (!enterURL)
        {FoundErrors += " " + error_no_url;}
        if (FoundErrors)
        {alert("Ошибка!" + FoundErrors);
        return;}
    insert("[mymp3]" + enterURL + "|" + enterTITLE + "[/mymp3]");}
    
    if((document.URL.indexOf("viewtopic.php")!=-1) || (document.URL.indexOf("post.php")!=-1)){
    elm=document.getElementById("pun-main").getElementsByTagName("div")
    for(x in elm) if(elm[x].className=="post-content"){
    var post=elm[x]
    post.innerHTML=addSpoiler_mp3(post.innerHTML,0,false)}}
    if(form=document.getElementById("form-buttons"))
form.getElementsByTagName("tr")[0].insertCell(17).innerHTML="<img src='/i/blank.gif' title='Загрузить mp3' id='button-mp3' onclick=\"popmp3(); tag_urlm()\">"
</script>

нечто работающее х) Я в этом профан, поэтому прошу помощи у людей знающих...
Конкретно, хотелось бы, иметь способ загрузки как в первом варианте, а тег и общий вид плеера как во втором. Если это возможно, не могли бы вы помочь мне, сотворить сие? https://forumupload.ru/uploads/0000/14/1c/346394-1.gif

Отредактировано Omne Datum (Вт, 28 Авг 2012 18:18:31)

0

336

Omne Datum написал(а):

Конкретно, хотелось бы, иметь способ загрузки как в первом варианте, а тег и общий вид плеера как во втором. Если это возможно, не могли бы вы помочь мне, сотворить сие?

а можно по конкретнее, какой вид плеера должен быть, а то вы его считаете вторым, а на моём веку в этой теме он уже 45 (к примеру),
а лучше нарисуйте

0

337

Makarius написал(а):

Продвинутые форумчане и с полем разобрались.

Но вот что один из них пишет:

Ох, напарил я мозги. Мои действия: убрал пробел после mp3,вставил адрес в окошко, нажал кнопку "к другой фигне", выбрал хранилище МР3 с проигрывателем, нажал вставить в сообщение, нажал "посмотреть", убедился, что файл проигрывается, вернулся к сообщению.

Все-таки хорошо бы упростить обращение с этой штукой... Ну всякий ли догадается, что пробел надо убрать? И с "этой фигней" тоже - озадачивает!
Romych, ну сделать хорошую штуку отличной - это можно? Убедительная просьба от блондинок...

0

338

Makarius написал(а):

Romych, ну сделать хорошую штуку отличной - это можно? Убедительная просьба от блондинок...

объясняю для блондинок популярно
mp3 файлы загружаются на сайт klopp.net.ru который принадлежит не мне, я наткнулся на него случайно пару лет назад и использую в своих скриптах (присоединяю его в окно загрузок через фрейм), он мне приглянулся отсутствием рекламы и своей простотой,
так вот, поскольку сайт принадлежит не мне, я не могу на нём менять названия к ссылкам типа К другой фигне на что-нибудь другое,
я и так безумно рад и благодарен хозяину этого хранилища, что он безо всяких временных ограничений и рекламы хранит у себя всё, что ему кидают,

из-за вас блондинок мне пришлось и таки удалось выйти на хозяина хранилища, пообщаться с ним и уговорить его максимально упростить страничку загрузки, и он к моему удивлению и удовлетворению пошёл на встречу:
1. убрал по моей просьбе лишнее поле для добавления перфикса к файлу (оно не работало и вас блондинок только сбивало с толку), соответственно убралось и описание к нему
2. он добавил по моей просьбе изображение (гифку) свидетельствующее о том, что процесс загрузки пошёл (опять же таки для вас блондинок, чтоб не паниковали и видели что файл загружается)

http://klopp.net.ru/files/16.gif

в общем упрощение процесса загрузки mp3, и с моей стороны, и со стороны владельца хранилища, произошло максимально настолько, насколько это возможно при таких условиях бесплатного использования!!! радуйтесь этому

а в связи, с тем что лишнее поле убралось я немного подправил размеры фрейма, поэтому ещё раз выкладываю скрипт

Аудиоплеер с загрузкой

в html-верх:
(тоже что и было в предыдущем варианте, остаётся без изменений)

Код:
<style type="text/css">
.my {background-color: #FFFFFF;color: #488baa;font-size: 12px;font-family: Tahoma;line-height: 125%;border-radius: 15px;-webkit-border-radius: 15px;-khtml-border-radius: 15px;-mozborder-radius: 15px;-o-border-radius: 15px;-moz-box-shadow: inset 0 0 1em #8cb9d6;-webkit-box-shadow: inset 0 0 1em #8cb9d6;box-shadow: inset 0 0 1em #8cb9d6;filter: progid:DXImageTransform.Microsoft.Shadow(color='#8cb9d6', Direction=145, Strength=3);
}
#fon{position: fixed;z-index:2;top:0;left:0;height:100%;width:100%;background-color:#000;filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50); -moz-opacity:0.5;-khtml-opacity:0.5;opacity:0.5;}
</style>

в html-низ:

Код:
<!--audio-плеер с загрузкой-->
<script language="javascript">$('td#button-code').before('<td id="mus" style=\'background-image:url("http://uploads.ru/i/W/Q/P/WQPBO.gif");background-position:center center;\' onclick="return changeVisibility(\'musicbox\', this);"><img src="/i/blank.gif" title="Загрузить музыку"></td>');$('#mus').click(function(){$('#musicbox').before('<div id="fon"></div>');});if((document.URL.indexOf("viewtopic.php")!=-1)||(document.URL.indexOf("post.php")!=-1)){var mz=document.querySelectorAll(".post-content p");for(x in mz){var post=mz[x].innerHTML;if(post.indexOf(".mp3")!=-1){var player=/\[audio\](http:\/\/[^\s<"]+?.mp3)\[\/audio\]/gim;post=post.replace(player,"<br /><embed src='http://muzkontakt.ru/scripts/flashplayer/player.swf' type='application/x-shockwave-flash' allowscriptaccess='always' wmode='transparent' flashvars='playerID=1&amp;bg=0xffffff&amp;slider=0x003366&amp;soundFile=$1' width='290' height='24'>");};mz[x].innerHTML=post;}}</script><div class="my"align="center"id="musicbox"style="display:none;width:480px;padding:8px;position:fixed;top:25%;right:35%;z-index:900;"class="container"><strong>Загрузить музыку</strong><br><iframe src="http://klopp.net.ru/files/"width="478"height="195"frameborder="no"marginheight="3"scrolling="no"></iframe><textarea id="track"cols="50"rows="1"style="width:auto;background:#f0f8ff;"onfocus="this.select()">Вставьте сюда полученную ссылку на mp3</textarea><br><button type=button onclick="var ur=document.getElementById('track').value;insert('[audio]'+ur+'[/audio]');changeVisibility('musicbox');var d=document.getElementById('fon');d.parentNode.removeChild(d);">Вставить в сообщение</button><button type="reset"onclick="changeVisibility('musicbox');var d=document.getElementById('fon');d.parentNode.removeChild(d);">Отмена</button></div>

внешний вид плеера тоже претерпел некоторые изменения

кстати, я просил хозяина хранилища проверить почему при заливке mp3 фалов слетает чтение ID3v1 и ID3v2 тэгов, которые в треках несут информацию о названии песни, об авторе и об названии альбома, ведь плеер который я применяю в скрипте как раз таки без проблем читает ID3v1 и ID3v2 тэги (если они прописаны) и во время воспроизведения должен отображать их в виде бегущей строки,
владелец хранилища был убеждён, что любые файлы заливаются к нему без изменений и удивился, что это оказалось не так - обещал разобраться и с этим вопросом

Отредактировано Romych (Ср, 29 Авг 2012 22:06:20)

+2

339

Romych написал(а):

а можно по конкретнее, какой вид плеера должен быть, а то вы его считаете вторым, а на моём веку в этой теме он уже 45 (к примеру),
а лучше нарисуйте

простите, в изобразительном искусстве я не сильна. А по поводу 2-ого = 45-ого, я имела ввиду, что он располагается под вторым свернутым текстом)
И так же хотела сказать, что хотелось бы иметь способ загрузки аудио, как в скрипте под первым свернутым текстом (в предыдущем моем посте)

общий вид. тык

http://s1.uploads.ru/t/SgX28.png

а вид плеера, как в скрипте под вторым свернутым текстом

общий вид. тык

http://s1.uploads.ru/t/vFEuz.png

а так же просила заменить тег audio на mymp3) Еще вопросы?) https://forumupload.ru/uploads/0000/14/1c/346394-1.gif

0

340

Romych написал(а):

из-за вас блондинок мне пришлось и таки удалось...

Romych, от имени блондинок - большое спасибо за труды! Правда, еще надо посмотреть, достаточно ли для наиболее продвинутых блондинок сделанного Вами... Но Ваше чуткое отношение к запросам этих милых существ позволяет надеяться, что в итоге все останутся довольны. О результатах очередного тестирования доложу.  http://mybb.ru/f/collection/0213.gif

Но первые впечатления - почти что идеально!!!

Отредактировано Makarius (Чт, 30 Авг 2012 14:19:56)

0


Вы здесь » Единый форум поддержки » Новые возможности форумов » Музыка в постах