CC-1665: Scheduled stream rebroadcasting and recording

-previewing streams have NaN:NaN:NaN as length
This commit is contained in:
Martin Konecny 2012-08-17 16:51:23 -04:00
parent 84b616cd28
commit 4216440670
3 changed files with 2 additions and 2 deletions

View File

@ -66,6 +66,7 @@ class AudiopreviewController extends Zend_Controller_Action
$this->view->audioFileID = $audioFileID;
$this->view->audioFileArtist = $audioFileArtist;
$this->view->audioFileTitle = $audioFileTitle;
$this->view->type = $type;
$this->_helper->viewRenderer->setRender('audio-preview');
}

View File

@ -42,7 +42,7 @@
</div>
<div class="jp-time-holder">
<div class="jp-current-time"></div>
<div class="jp-duration"></div>
<?php if ($this->type == "audioclip"): ?><div class="jp-duration"></div> <?php endif;?>
</div>
</div>
<div class="jp-volume-block">

View File

@ -206,7 +206,6 @@ function playOne(uri, mime) {
_playlist_jplayer.option("autoPlay", true);
playlist[0] = media;
//_playlist_jplayer.setPlaylist(playlist); --if I use this the player will call _init on the setPlaylist and on the ready
_playlist_jplayer._initPlaylist(playlist);
_playlist_jplayer.play(0);