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

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

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


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


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

Сообщений 401 страница 420 из 762

1

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

+5

401

Несколько переделал плеер от Romych. Плеер работает с тремя хостингами: zippyshare.com, rghost.ru, prostopleer.com. Если кому надо, то вот:

Код:
<!--audio плеер (special edition)v.2 обновленный-->
<script language="javascript">
$(function(){
$('td#button-video').before('<td id="floatbut" style=\'background-image:url("http://img31.imageshack.us/img31/1875/sound.gif")\' onclick="tag_play()"></td>');
$("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("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("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("http://rghost.ru") != -1) {
player = /\[audio\](.*?)\/(\d+)\[\/audio\]/g
$(this).html(text.replace(player, "<br /><object height='15' width='455' type='application/x-shockwave-flash' data='http://rghost.ru/flash/mediaplayer.swf' id='preview_mp3' style='visibility: visible;'><param name='flashvars' value='file=http://rghost.ru/download/action/$2/mp3&amp;streamer=http://rghost.ru/download/action/$2/mp3'></object>"));
    }
if(text.indexOf(".mp3") != -1) {
player = /\[audio\](.*?)\[\/audio\]/g
$(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'>"));
 } }); }); 
var popup, popupp, pop, popzz, poprg, popam, popfl;
function tag_play()
 {var FoundErrors = '';
var pop = window.open("","popDialog","height=270,width=800,Scrollbars=1")
pop.document.open();
  
 // генерировать новый документ 
  pop.document.write("<html><head><title>Player");
  pop.document.write("</title></head><body>");
  pop.document.write("<center><font size=+4>");
  pop.document.write("<strong>");
  pop.document.write("Выберите аудиохостинг:");
  pop.document.write("</strong>");
  pop.document.write("</br>");
  pop.document.write("</font></center>");
  pop.document.write("<center><font size=+3>");
  pop.document.write("<strong>");
  pop.document.write("<a href='http://www.zippyshare.com/?locale=ru'>");
  pop.document.write("zippyshare.com");
  pop.document.write("</a>");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("<a href='http://rghost.ru'>");
  pop.document.write("rghost.ru");
  pop.document.write("</a>");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("<a href='http://prostopleer.com'>");
  pop.document.write("prostopleer.com");
  pop.document.write("</a>");
  pop.document.write("</br>");
  pop.document.write("</br>");
  pop.document.write("</strong>");
  pop.document.write("</font></center>");
  pop.document.write("<center><font size=+2><font color=#FF0000>");
  pop.document.write("<strong>");
  pop.document.write("<i>");
  pop.document.write("Полученную ссылку на аудиофайл вставьте вместо:");
  pop.document.write("</br>");
  pop.document.write("[object Window]");
  pop.document.write("</i>");
  pop.document.write("</strong>");
  pop.document.write("</font></font></center>");
  pop.document.write("</body></html>");
  
  pop.document.close();
 if (!document.all)  {pop.moveTo(100,100);}
 if (FoundErrors)
 {alert("Ошибка!" + FoundErrors);
 return ;}
insert("[audio]" + pop + "[/audio]");}
</script>

Ставить HTML низ.

Отредактировано kolobdur74 (Ср, 6 Фев 2013 01:57:30)

+1

402

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

Вечер добрый. Стоит скрипт:

Хотелось бы иконку сдвинуть в самый конец, чтобы она была после "Виртуальной клавиатуры" . Не подскажете что в коде нужно исправить?

эту строку:

Код:
$('#button-code').before('<td style=\'background-image:url("http://img31.imageshack.us/img31/1875/sound.gif")\' onclick=\'pop4(); bbcode("[audio]...", "[/audio]");\'><img src="/i/blank.gif" title="Загрузить музыку"></td>');

замените на эту:

Код:
$('#button-addition').before('<td style=\'background-image:url("http://img31.imageshack.us/img31/1875/sound.gif")\' onclick=\'pop4(); bbcode("[audio]...", "[/audio]");\'><img src="/i/blank.gif" title="Загрузить музыку"></td>');
Вдумчивый написал(а):

Хороший скриптик, но причину найти - почему не работает...Не могу.

скрипт за точен под загрузку mp3 фалов на файловое хранилище - http://klopp.net.ru/files/ оно больше не работает, соответственно и скрипт глючит, на данный момент в рабочем состоянии осталось хранилище по такому адресу - http://klopp.net.ru/musicbox/

+1

403

kolobdur74
Спасибо)))+

0

404

Как вставить в пост код с music.privet.ru?

Вот так он выглядит:

Свернутый текст
Код:
<object data="http://music.privet.ru/swf/mp3player.swf" type="application/x-shockwave-flash" height="75" width="470" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" ><param name="movie" value="http://music.privet.ru/swf/mp3player.swf"><param name="flashvars" value="autostart=false&bufferlength=3&showeq=true&file=http%3A%2F%2Fstat21.privet.ru%2Fmp3%2F0c286da891935fa7781d6a5c66f57cc8&type=mp3&id=426538174&callback=http://music.privet.ru/callback.php&backcolor=0xt&frontcolor=0xE6FEFF&lightcolor=0xFFDDBF" /><embed src="http://music.privet.ru/swf/mp3player.swf" width="470" height="75" flashvars="autostart=false&bufferlength=3&showeq=true&file=http%3A%2F%2Fstat21.privet.ru%2Fmp3%2F0c286da891935fa7781d6a5c66f57cc8&type=mp3&id=426538174&callback=http://music.privet.ru/callback.php&backcolor=0xt&frontcolor=0xE6FEFF&lightcolor=0xFFDDBF" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>

0

405

Всем доброго!

1. Подскажите, можно ли вставить радио на форум так, что б при обновлении или переходе на другие страницы, оно не сбивалось (не выключалось). На данный момент стоит в обьвлении. При смене страницы, выключается.

Код:
<script src="http://radioforex.ru/playerData/swfobject.js" type="text/javascript"></script>
<script type="text/javascript"> swfobject.embedSWF("http://radioforex.ru/uploads/player/240x110-grey.swf", "player", "240", "100", "8.0.0", "http://radioforex.ru/playerData/expressInstall.swf", {autoPlay:false, bitrate:128, volume:40 });
 </script>
<div id="player">
</div>
</td>
<td align="center" cellpadding="0" cellspacing="0">
<script src="http://radioforex.ru/playerData/swfobject.js" type="text/javascript"></script>
<script type="text/javascript"> swfobject.embedSWF("http://j-14kcob.narod.ru/banner.swf", "pld", "400", "100", "8.0.0", "http://j-14kcob.narod.ru/banner.swf", {autoPlay:false, bitrate:128, volume:40 });
 </script>

0

406

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

Всем доброго!

1. Подскажите, можно ли вставить радио на форум так, что б при обновлении или переходе на другие страницы, оно не сбивалось (не выключалось). На данный момент стоит в обьвлении. При смене страницы, выключается.

Возможно оставить одну страницу форума с включенным радио открытой а в другой вкладке листать форум такого вообще не бывает если страницу обновляете само сабой радио отключиться, или обновится и снова включиться если стоит автозапуск на плеере!

0

407

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

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

Всем доброго!

1. Подскажите, можно ли вставить радио на форум так, что б при обновлении или переходе на другие страницы, оно не сбивалось (не выключалось). На данный момент стоит в обьвлении. При смене страницы, выключается.

Возможно оставить одну страницу форума с включенным радио открытой а в другой вкладке листать форум такого вообще не бывает если страницу обновляете само сабой радио отключиться, или обновится и снова включиться если стоит автозапуск на плеере!

Привет.
Оставлять одну открытую, как вариант неочень удобен. А вот подумать в плеере автозапуск, было бы не плохо, но не представляю как это воплотить... Может нщё какие иди есть?
Спасибо.

0

408

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

А вот подумать в плеере автозапуск, было бы не плохо, но не представляю как это воплотить...

Заменить:

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

autoPlay:false

На autoPlay:true

0

409

Всем здрасти! http://mybb.ru/f/collection/0213.gif
Подскажите пожалуйста... Пропала кнопка "Аудиоплеер с загрузкой v.3" и плеер :dontknow: В чем может быть проблема?

Отредактировано Lusiya (Ср, 27 Мар 2013 18:22:52)

0

410

А нет плеера, чтобы музыку было можно загружать с Локального диска, а не по прямой ссылке?

0

411

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

Подскажите пожалуйста... Пропала кнопка "Аудиоплеер с загрузкой v.3" и плеер :dontknow: В чем может быть проблема?

только что протестировал у себя, всё работает,
дайте ссылку на страницу-тему, где плеер не работает

Mei Tachibana написал(а):

А нет плеера, чтобы музыку было можно загружать с Локального диска, а не по прямой ссылке?

есть, используйте скрипт - Аудиоплеер с загрузкой v.3

+1

412

Romych
Все работало и плеер был, коды стоят, а кнопка и сам плеер пропали?!?!?!
Вот открытая тема http://vervsebya.mybb.ru/post.php?tid=392 и в форме ответа были две кнопочки для загрузки, кторая сейчас (вставка прямой ссылки), а вот вторая с загрузкой, пропала
А вот тут вся загружённая музыка http://vervsebya.mybb.ru/viewtopic.php? … p=11#p6027
И не могу понять в чем проблема :dontknow:

0

413

Lusiya
у вас в коде присутствует кусок с незакрытым тегом

Код:
<style type="text/css">
.quote-box .perro{
 float:right;
 position:relative;
 display:inline-block;
 margin:-39px -43px 0 auto;
 border-bottom:none transparent 0!important;
 background-image:url(http://uploads.ru/t/F/4/K/F4KJD.png);
 height:50px;
 width:49px;
}

вставьте после него закрывающий тег </style>
и тогда всё заработает

да, и ещё, у вас много лишних скриптов - Спойлер, Генератор таблиц в форме Ответа и video дополнения для сайта myvi.ru (всё это реализовано сервисом)

+1

414

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

у вас в коде присутствует кусок с незакрытым тегом

Ух как... как же я так пропустила то... Вроде проверяла и такой ляп допустить... Во позорище то...
Romych
СПАСИБО ВАМ ОГРОМНОЕ!!!!!! :cool:  :cool:  :cool:

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

да, и ещё, у вас много лишних скриптов - Спойлер, Генератор таблиц в форме Ответа и video дополнения для сайта myvi.ru (всё это реализовано сервисом)

Romych
А в этом спойлере (который сейчас стоит) мне конопочка нравится :blush:
А вот с видео сейчас разберусь...
СПАСИБО ВАМ ЕЩЕ РАЗ! http://mybb.ru/f/collection/0211.gif

0

415

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

как же я так пропустила то...

ничего страшного, бывает ))

+1

416

Если кому нужно вот мой мини плеер музыка в постах!

<style type="text/css">
#button-mp3 {background-image:url('http://forumstatic.ru/files/0012/ae/b5/65439.gif'); padding:0; line-height:0; background-position:center; background-repeat:no-repeat; height:26px; width:100%}
</style>
<script type="text/javascript">
if(form=document.getElementById("form-buttons"))
form.getElementsByTagName("tr")[0].insertCell(18).innerHTML="<img src='/i/blank.gif' title='Mp3 Плеер' id='button-mp3'  onclick=\"bbcode('[mp3]', '[/mp3]');\"/>"
function mp3(str,from,internal){
var pos=0,pos2=0,newpos=0
if((pos=str.indexOf("[mp3]",from))==-1) return str;
if((pos2=str.indexOf("[/mp3]"),pos+10)==-1) return str;
newpos=str.indexOf("[mp3]",pos+10)
if(newpos<pos2 && newpos!=-1) str=mp3(str,pos+10,true)
if((pos2=str.indexOf("[/mp3]",pos+10))==-1) return str;
str=str.substring(0,pos)+makeModL(str.substring(pos+10,pos2))+str.substring(pos2+11,str.length)
if( str.indexOf("[mp3]")!=-1 && internal==false) str=mp3(str,0,false)
return str}

function makeModL(txt){
txt="<object type=\"application/x-shockwave-flash\" data=\"http://flash-mp3-player.net/medias/player_mp3_maxi.swf\" width=\"400\" height=\"25\"><param name=\"movie\" value=\"http://flash-mp3-player.net/medias/player_mp3_maxi.swf\"><param name=\"bgcolor\" value=\"#ffffff\"><param name=\"FlashVars\" value=\"mp3="+txt+"&amp;width=400&amp;height=25&amp;volume=200\"></object>"
return txt}

if(document.URL.indexOf("viewtopic.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=mp3(post.innerHTML,0,false)}}
</script>

0

417

Камрады, такая неприятность:
Стоит вот этот скрипт встраивания музыки в посты:

скрипт
Код:
<!--audio плеер (special edition)v.2 обновленный-->
<script language="javascript">
$(function(){
$('td#button-video').before('<td id="floatbut" style=\'background-image:url("http://img31.imageshack.us/img31/1875/sound.gif")\' onclick="tag_play()"></td>');
$("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("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("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("http://rghost.ru") != -1) {
player = /\[audio\](.*?)\/(\d+)\[\/audio\]/g
$(this).html(text.replace(player, "<br /><object height='15' width='455' type='application/x-shockwave-flash' data='http://rghost.ru/flash/mediaplayer.swf' id='preview_mp3' style='visibility: visible;'><param name='flashvars' value='file=http://rghost.ru/download/action/$2/mp3&amp;streamer=http://rghost.ru/download/action/$2/mp3'></object>"));
    }
if(text.indexOf(".mp3") != -1) {
player = /\[audio\](.*?)\[\/audio\]/g
$(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'>"));
 } }); }); 
var popup, popupp, pop, popzz, poprg, popam, popfl;
function tag_play()
 {var FoundErrors = '';
var pop = window.open("","popDialog","height=270,width=800,Scrollbars=1")
pop.document.open();
  
 // генерировать новый документ 
  pop.document.write("<html><head><title>Player");
  pop.document.write("</title></head><body>");
  pop.document.write("<center><font size=+4>");
  pop.document.write("<strong>");
  pop.document.write("Выберите аудиохостинг:");
  pop.document.write("</strong>");
  pop.document.write("</br>");
  pop.document.write("</font></center>");
  pop.document.write("<center><font size=+3>");
  pop.document.write("<strong>");
  pop.document.write("<a href='http://www.zippyshare.com/?locale=ru'>");
  pop.document.write("zippyshare.com");
  pop.document.write("</a>");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("<a href='http://rghost.ru'>");
  pop.document.write("rghost.ru");
  pop.document.write("</a>");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("<a href='http://prostopleer.com'>");
  pop.document.write("prostopleer.com");
  pop.document.write("</a>");
  pop.document.write("</br>");
  pop.document.write("</br>");
  pop.document.write("</strong>");
  pop.document.write("</font></center>");
  pop.document.write("<center><font size=+2><font color=#FF0000>");
  pop.document.write("<strong>");
  pop.document.write("<i>");
  pop.document.write("Полученную ссылку на аудиофайл вставьте вместо:");
  pop.document.write("</br>");
  pop.document.write("[object Window]");
  pop.document.write("</i>");
  pop.document.write("</strong>");
  pop.document.write("</font></font></center>");
  pop.document.write("</body></html>");
  
  pop.document.close();
 if (!document.all)  {pop.moveTo(100,100);}
 if (FoundErrors)
 {alert("Ошибка!" + FoundErrors);
 return ;}
insert("[audio]" + pop + "[/audio]");}
</script>

Никаких нареканий в принципе к нему нет. Кроме одного - в мозилле он не отображается. Иконки нет, вставленные проигрыватели отображает кодом. Что не так и где я баклан?
http://illve.mybb.ru/

0

418

Милохе написал(а):

Камрады, такая неприятность:
Стоит вот этот скрипт встраивания музыки в посты:

Никаких нареканий в принципе к нему нет. Кроме одного - в мозилле он не отображается. Иконки нет, вставленные проигрыватели отображает кодом. Что не так и где я баклан?
http://illve.mybb.ru/

хороший срипт,забрал себе

0

419

Классный! Тоже утянула к себе. Спасибо!
(извиняюсь, что не могу помочь с мозилой)

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

В общем ждем Автора, чтобы его поблагодарить и попросить чуть допилить или объяснить как самим допилить ))

Отредактировано Flamingo (Вт, 14 Май 2013 19:56:18)

0

420

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

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

Вот добавил возможность изменения фона и шрифта:

Плеер
Код:
<!--audio плеер (special edition)v.2 обновленный-->
<script language="javascript">
$(function(){
$('td#button-video').before('<td id="floatbut" style=\'background-image:url("http://img31.imageshack.us/img31/1875/sound.gif")\' onclick="tag_play()"></td>');
$("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("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("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("http://rghost.ru") != -1) {
player = /\[audio\](.*?)\/(\d+)\[\/audio\]/g
$(this).html(text.replace(player, "<br /><object height='15' width='455' type='application/x-shockwave-flash' data='http://rghost.ru/flash/mediaplayer.swf' id='preview_mp3' style='visibility: visible;'><param name='flashvars' value='file=http://rghost.ru/download/action/$2/mp3&amp;streamer=http://rghost.ru/download/action/$2/mp3'></object>"));
    }
if(text.indexOf(".mp3") != -1) {
player = /\[audio\](.*?)\[\/audio\]/g
$(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'>"));
 } }); }); 
var popup, popupp, pop, popzz, poprg, popam, popfl;
function tag_play()
 {var FoundErrors = '';
var pop = window.open("","popDialog","height=270,width=800,Scrollbars=1")
pop.document.open();
  
 // генерировать новый документ 
  pop.document.write("<html><head><title>Player");
  pop.document.write("</title></head><body bgcolor=#00FF00>");
  pop.document.write("<font face=Arial><center><font size=+4>");
  pop.document.write("<strong>");
  pop.document.write("Выберите аудиохостинг:");
  pop.document.write("</strong>");
  pop.document.write("</br>");
  pop.document.write("</font></center>");
  pop.document.write("<center><font size=+3>");
  pop.document.write("<strong>");
  pop.document.write("<a href='http://www.zippyshare.com/?locale=ru'>");
  pop.document.write("zippyshare.com");
  pop.document.write("</a>");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("<a href='http://rghost.ru'>");
  pop.document.write("rghost.ru");
  pop.document.write("</a>");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("<a href='http://prostopleer.com'>");
  pop.document.write("prostopleer.com");
  pop.document.write("</a>");
  pop.document.write("</br>");
  pop.document.write("</br>");
  pop.document.write("</strong>");
  pop.document.write("</font></center>");
  pop.document.write("<center><font size=+2><font color=#FF0000>");
  pop.document.write("<strong>");
  pop.document.write("<i>");
  pop.document.write("Полученную ссылку на аудиофайл вставьте вместо:");
  pop.document.write("</br>");
  pop.document.write("[object Window]");
  pop.document.write("</i>");
  pop.document.write("</strong>");
  pop.document.write("</font></font></center></font>");
  pop.document.write("</body></html>");
  
  pop.document.close();
 if (!document.all)  {pop.moveTo(100,100);}
 if (FoundErrors)
 {alert("Ошибка!" + FoundErrors);
 return ;}
insert("[audio]" + pop + "[/audio]");}
</script>

Здесь меняем цвет форума на свой:

pop.document.write("</title></head><body bgcolor=#00FF00>");

Здесь на свой шрифт:

pop.document.write("<font face=Arial><center><font size=+4>");

А вообще стиль меняем под себя в всплывающем окне в этом блоке:

pop.document.write("<html><head><title>Player");
  pop.document.write("</title></head><body bgcolor=#00FF00>");
  pop.document.write("<font face=Arial><center><font size=+4>");
  pop.document.write("<strong>");
  pop.document.write("Выберите аудиохостинг:");
  pop.document.write("</strong>");
  pop.document.write("</br>");
  pop.document.write("</font></center>");
  pop.document.write("<center><font size=+3>");
  pop.document.write("<strong>");
  pop.document.write("<a href='http://www.zippyshare.com/?locale=ru'>");
  pop.document.write("zippyshare.com");
  pop.document.write("</a>");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("<a href='http://rghost.ru'>");
  pop.document.write("rghost.ru");
  pop.document.write("</a>");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("&nbsp;");
  pop.document.write("<a href='http://prostopleer.com'>");
  pop.document.write("prostopleer.com");
  pop.document.write("</a>");
  pop.document.write("</br>");
  pop.document.write("</br>");
  pop.document.write("</strong>");
  pop.document.write("</font></center>");
  pop.document.write("<center><font size=+2><font color=#FF0000>");
  pop.document.write("<strong>");
  pop.document.write("<i>");
  pop.document.write("Полученную ссылку на аудиофайл вставьте вместо:");
  pop.document.write("</br>");
  pop.document.write("[object Window]");
  pop.document.write("</i>");
  pop.document.write("</strong>");
  pop.document.write("</font></font></center></font>");
  pop.document.write("</body></html>");

Милохе написал(а):

Никаких нареканий в принципе к нему нет. Кроме одного - в мозилле он не отображается. Иконки нет, вставленные проигрыватели отображает кодом. Что не так и где я баклан?

Честно сказать, я так и не понял почему.. :dontknow:

0


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