CC-1665: Scheduled stream rebroadcasting and recording
-previewing streams have NaN:NaN:NaN as length
This commit is contained in:
parent
84b616cd28
commit
4216440670
|
@ -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');
|
||||
}
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue