This page is for broadcasters using SoniXcast that need to create a popup page for their player. The TuneIn Player has been used for the example of the popup window, but other players can be substituted.

TuneIn Player Popup

Example:  TuneIn Player Popup

Code:
Add script above <head> to the page you want to open the popup from, and change 'windowname' if desired.

<script TYPE="text/javascript">
function popup(mylink, windowname) {
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string') href=mylink;
else href=mylink.href;
window.open(href, windowname, 'width=500,height=170,scrollbars=no');
return false;
}
</script>

Link Code:
Change link to your popup page and change 'windowname' if desired.

<a href="tuneinPopup.html" onClick="return popup(this, 'windowname')">TuneIn Popup Window</a>

TuneIn Popup Window Code:
Create new HTML file with name of link you used for popup window. Replace TuneIn ID in iFrame code with your ID.

<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta http-equiv="CACHE-CONTROL" CONTENT="NO-CACHE">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Station Name</title>
</head>
<body>
<Table width="100% cellspacing="2" cellpadding="2" border="0">
<TR><TD>

<iframe src="http://tunein.com/embed/player/sXXXXXX/" style="width:100%;height:100px;" scrolling="no" frameborder="no"></iframe>

</TD></TR>
</Table>
</body>
</html>