diff options
author | MaZderMind | 2016-12-27 10:50:48 +0100 |
---|---|---|
committer | MaZderMind | 2016-12-27 10:50:48 +0100 |
commit | f5b3525b17aab83ed2e8b826a854dea9ffd75773 (patch) | |
tree | 1ac71ce8c96b30d638954a242f6dc8f724947d50 /model | |
parent | 968a41c635df3a4f7299b7a98916a77ca43ed25a (diff) |
repiar embedding
Diffstat (limited to '')
-rw-r--r-- | model/Stream.php | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/model/Stream.php b/model/Stream.php index d2baa28..a51227e 100644 --- a/model/Stream.php +++ b/model/Stream.php @@ -105,12 +105,14 @@ class Stream public function getEmbedUrl() { - return - forceslash(baseurl()). - 'embed/'. - rawurlencode($this->getRoom()->getSlug()).'/'. - rawurlencode($this->getSelection()).'/'. - rawurlencode($this->getLanguage()).'/'; + return joinpath([ + baseurl(), + $this->getRoom()->getConference()->getSlug(), + 'embed', + rawurlencode($this->getRoom()->getSlug()), + rawurlencode($this->getSelection()), + rawurlencode($this->getLanguage()), + ]); } public function getVideoUrl($proto) |