aboutsummaryrefslogtreecommitdiff
path: root/model/Stream.php
diff options
context:
space:
mode:
authorMaZderMind2016-12-27 10:50:48 +0100
committerMaZderMind2016-12-27 10:50:48 +0100
commitf5b3525b17aab83ed2e8b826a854dea9ffd75773 (patch)
tree1ac71ce8c96b30d638954a242f6dc8f724947d50 /model/Stream.php
parent968a41c635df3a4f7299b7a98916a77ca43ed25a (diff)
repiar embedding
Diffstat (limited to 'model/Stream.php')
-rw-r--r--model/Stream.php14
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)