Vysielam IT radio a tak som si spravil aj taky subor, kde ukazuje co hra a ten wmp. Proste klasika. Lenze problem je v tom, ze niekomu to ide niekomu nie. Neviete mi poradit? Bude to kodekom ? Alebo ako je potom mozne ze na inych radiach to ide? Skusal som aj tak ze som si otvoril zdrojovy kod webu, kde to ide vsetkym ten webplayer a zmenil som len scr na svoje. A neslo im to. Islo to mne a aj zopar kamaratom a pritom nemame spolocneho providera. Viete mi poradit ?
Tu je moj webplayer
Kód: Vybrať všetko
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="index, follow" />
<meta name="keywords" content="radio, internetove radio, music, hudba, mp3, dj, tanec, program, it radio," />
<meta name="description" content="Enjoy rádio - internetové rádio, ktoré ťa naladí do pohody!" />
<meta name="generator" content="Joomla! 1.5 - Open Source Content Management" />
<title>aby_nebola_reklama</title>
<link href="/index.php?format=feed&type=rss" rel="alternate" type="application/rss+xml" title="RSS 2.0" />
<link href="/templates/siteground-j15-15/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<link href="/index.php?format=feed&type=atom" rel="alternate" type="application/atom+xml" title="Atom 1.0" />
</head>
<body bgcolor="#000000">
<iframe id="Enjoyradio" name="Enjoyradio" style="width:450px; height:90px; border:1px solid #000" src="radio_stats.php" frameborder="0" scrolling="no"></iframe>
<table width="200" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2" valign="top">
<div align="center">
<embed id="MediaPlayer" name="MediaPlayer" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="http://87.98.170.118:11002/" width="450" height="50" type="application/x-mplayer2" autosize="0" autostart="1" animationatstart="1" displaysize="0" loop="1" showcontrols="1" showaudiocontrols="1" showdisplay="0" showgotobar="0" showpositioncontrols="0" showstatusbar="1" showtracker="0" transparentatstart="0"></embed></div></td>
</tr>
</table>
</body></html>//autoeditácia príspevku ( 25 Jun 2009, 22:25 )
no takze prisiel som na to, preco to nejde. Ten shoucast server si vyzaduje, aby bola jeho reklama google ads na playeri. A je to nastavene tak, ze ak to bude mat menej ako 728x90 tak hodi to inu reklamu. A ja sa teda pytam ako by sa dala zakryt ta reklama, aby ju povazovalo za to ze tam je pricom by ju nebolo vidiet. Aj nejak cez iframe trebars alebo co. Je mi to jedno hlavne nech to ide skuste mi nieco poraditd pls Smile Dakujem
//autoeditácia príspevku ( 25 Jun 2009, 22:40 )
a tu je script ktory to zapricinuje
Kód: Vybrať všetko
<script type="text/javascript"><!--
var myWidth = 0, myHeight = 0;
if( typeof( window.innerWidth ) == 'number' ) {
//Non-IE
myWidth = window.innerWidth;
myHeight = window.innerHeight;
} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
//IE 6+ in 'standards compliant mode'
myWidth = document.documentElement.clientWidth;
myHeight = document.documentElement.clientHeight;
} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
//IE 4 compatible
myWidth = document.body.clientWidth;
myHeight = document.body.clientHeight;
}
if (myWidth < 728)
{
parent.location.href="http://s2.myradiostream.com/stream/2076/url::" + document.referrer;
}
if (myHeight < 90)
{
parent.location.href="http://s2.myradiostream.com/stream/2076/url::" + document.referrer;
}
//-->
</script>