CC-5892: Handle when a file is downloaded from the Airtime library
This commit is contained in:
parent
6f119b006f
commit
e7dfc08128
2 changed files with 13 additions and 1 deletions
|
@ -46,8 +46,8 @@ class AudiopreviewController extends Zend_Controller_Action
|
|||
}
|
||||
|
||||
if ($type == "audioclip") {
|
||||
$uri = $baseUrl."api/get-media/file/".$audioFileID;
|
||||
$media = Application_Model_StoredFile::RecallById($audioFileID);
|
||||
$uri = $baseUrl."api/get-media/file/".$audioFileID;
|
||||
$mime = $media->getPropelOrm()->getDbMime();
|
||||
} elseif ($type == "stream") {
|
||||
$webstream = CcWebstreamQuery::create()->findPk($audioFileID);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue