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:
parent
1211e8db7f
commit
09efacf4d5
3 changed files with 18 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue