CC-3391: Audio Preview cannot play tracks with commas in their filename
- The content distribution header filename attribute, wasn't properly quoted for inline content. This causes a bug for files with comma names. - changed the play button in library back to the speaker icon - removed some dead code preview_player.js - removed the file name attribute, will need better approch to presenting the user with audio information.
This commit is contained in:
parent
348011dbc3
commit
709e117f41
8 changed files with 22 additions and 67 deletions
|
@ -198,8 +198,7 @@ class PlaylistController extends Zend_Controller_Action
|
|||
|
||||
public function audioPreviewPlayerAction()
|
||||
{
|
||||
$name = $this->_getParam('name');
|
||||
$fileName = $this->_getParam('filename');
|
||||
$fileID = $this->_getParam('fileID');
|
||||
$playlistIndex = $this->_getParam('index');
|
||||
|
||||
$request = $this->getRequest();
|
||||
|
@ -218,8 +217,7 @@ class PlaylistController extends Zend_Controller_Action
|
|||
$this->view->logo = "$baseUrl/css/images/airtime_logo_jp.png";
|
||||
}
|
||||
|
||||
$this->view->name = $name;
|
||||
$this->view->fileName = $fileName;
|
||||
$this->view->fileName = $fileID;
|
||||
$this->view->playlistIndex= $playlistIndex;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue