aboutsummaryrefslogtreecommitdiff
path: root/model/Stream.php
diff options
context:
space:
mode:
authorAnton Schubert2020-02-02 23:24:00 +0100
committerAnton Schubert2020-02-02 23:24:00 +0100
commitb3b4ef36b1628bf7f593916ff59e92130078e965 (patch)
treea550127b20558eb52019d6604805f6682ee8fecb /model/Stream.php
parent0fd3d2f7a238de2a33d3e8ff6862c2482e8b97dd (diff)
use thumbnail/poster from cdn instead of locally
Diffstat (limited to '')
-rw-r--r--model/Stream.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/model/Stream.php b/model/Stream.php
index d577df6..e260ef9 100644
--- a/model/Stream.php
+++ b/model/Stream.php
@@ -265,6 +265,6 @@ class Stream
);
}
public function getPoster() {
- return joinpath(['/', 'thumbs', rawurlencode($this->getRoom()->getStream()).'-poster.png']);
+ return proto().'://cdn.c3voc.de'.joinpath(['/thumbnail', $this->getRoom()->getStream(), 'poster.jpeg']);
}
}