CC-2438: Add a button to listen to the stream immediately

-but is now available. Need to ask Vladimir to position it under the "On-Air"
This commit is contained in:
Martin Konecny 2011-10-12 14:26:18 +02:00
parent 55b039c162
commit 24e208d1d6
2 changed files with 4 additions and 1 deletions

View File

@ -30,6 +30,9 @@
<li class="time-zone"><span id="time-zone"></span></li> <li class="time-zone"><span id="time-zone"></span></li>
</ul> </ul>
</div> </div>
<div class="listen-control-block">
<a class="" href="#"><span>Listen</span></a>
</div>
<?php if($this->is_trial){?> <?php if($this->is_trial){?>
<div class="trial-info-block"> <div class="trial-info-block">
<ul> <ul>

View File

@ -260,7 +260,7 @@ function init() {
setupQtip(); setupQtip();
$('#on-air-info').click(function() { $('.listen-control-block').click(function() {
if (stream_window == null || stream_window.closed) if (stream_window == null || stream_window.closed)
stream_window=window.open(baseUrl+"Dashboard/stream-player", 'name', 'width=400,height=216'); stream_window=window.open(baseUrl+"Dashboard/stream-player", 'name', 'width=400,height=216');
stream_window.focus(); stream_window.focus();