Skip to content

Commit

Permalink
Add embed mode parameter into opencasturl
Browse files Browse the repository at this point in the history
See commit 58e3935
  • Loading branch information
rubenrua committed Jun 12, 2017
1 parent 4710a73 commit 91c8fe6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function importRecording($opencastId, $invert = false, User $loggedInUser
$properties = $this->getMediaPackageField($mediaPackage, 'id');
if ($properties) {
$multimediaObject->setProperty('opencast', $properties);
$multimediaObject->setProperty('opencasturl', $this->opencastClient->getPlayerUrl().'?id='.$properties);
$multimediaObject->setProperty("opencasturl", $this->opencastClient->getPlayerUrl() . "?mode=embed&id=" . $properties);
}
$multimediaObject->setProperty('opencastinvert', boolval($invert));

Expand Down

0 comments on commit 91c8fe6

Please sign in to comment.