<script type="text/javascript">
// Copyright Web-Codes.Net
function zipPlayer(file)
{
// By AllCity
var parse = "http://(www[0-9]+).zippyshare.com/v/([0-9]+)/file.html";
// From clubtone.net
if(file.match(parse) == null)
{
document.write('Не правильный URL!');
}
else
{
var www = file.match(parse)[1];
var file = file.match(parse)[2];
var width = '450';
var vol = '100';
var player = './mp.swf';
document.write('<div style="width: ' + width + 'px;"><div style="float: left;"><object id=mpl classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 width=' + width + ' height=20><param name="flashvars" VALUE="height=20&width=' + width + '&file=http://' + www + '.zippyshare.com/downloadMusic?key=' + file + 'xx&volume=' + vol + '&autostart=false&frontcolor=0xffffff&backcolor=0x000000&lightcolor=0xffffff&type=flv"></param><param name="wmode" value="opaque"><param name="src" VALUE=' + player + '></param><embed width="' + width + '" height="20" wmode="opaque" flashvars="height=20&width=' + width + '&file=http://' + www + '.zippyshare.com/downloadMusic?key=' + file + 'xx&volume=' + vol + '&autostart=false&frontcolor=0xffffff&backcolor=0x000000&lightcolor=0xffffff&type=flv" allowfullscreen="false" quality="high" name="mpl" id="mpl" src=' + player + ' type="application/x-shockwave-flash"></object></div></div><div style="clear: both;"/></div>');
}
}
</script>
<script type="text/javascript">
zipPlayer('http://www4.zippyshare.com/v/92843329/file.html');
</script>
Вернуться в Архив скриптов и интересных решений
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 6