SAAS-1156: Podcast episode playback and download from Radio Page

Playback works in HTML mode for mp3 files only right now.
Added a function that changes the player iframe's src attribute
so it plays individual tracks.
This commit is contained in:
drigato 2015-10-27 16:00:15 -04:00
parent 1211e8db7f
commit 09efacf4d5
3 changed files with 18 additions and 1 deletions

View file

@ -54,6 +54,10 @@ class EmbedController extends Zend_Controller_Action
array_push($availableDesktopStreams, $s);
}
}
} else if ($stream == "file") {
$this->view->playerMode = "file";
$this->view->streamURL = json_encode($request->getParam("file_url"));
$this->view->codec = $request->getParam("file_codec");
} elseif (!empty($stream)) {
$this->view->playerMode = "manual";
$selectedStreamData = $streamData[$stream];