Fix player's manual mode
This commit is contained in:
parent
fbcd5bc5bd
commit
9e62c71690
2 changed files with 3 additions and 18 deletions
|
@ -37,6 +37,7 @@ class EmbedController extends Zend_Controller_Action
|
|||
|
||||
if ($stream == "auto") {
|
||||
$this->view->playerMode = "auto";
|
||||
$this->view->streamURL = json_encode("");
|
||||
foreach ($streamData as $s) {
|
||||
if ($s["mobile"]) {
|
||||
array_push($availableMobileStreams, $s);
|
||||
|
@ -44,7 +45,7 @@ class EmbedController extends Zend_Controller_Action
|
|||
array_push($availableDesktopStreams, $s);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
} elseif (!empty($stream)) {
|
||||
$this->view->playerMode = "manual";
|
||||
$selectedStreamData = $streamData[$stream];
|
||||
$this->view->streamURL = json_encode($selectedStreamData["url"]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue