diff options
Diffstat (limited to 'model')
-rw-r--r-- | model/Room.php | 2 | ||||
-rw-r--r-- | model/Stream.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/model/Room.php b/model/Room.php index 1fdbf7b..897bcbd 100644 --- a/model/Room.php +++ b/model/Room.php @@ -48,7 +48,7 @@ class Room } public function getThumb() { - return joinpath(['/', 'thumbs', $this->getStream().'.png']); + return proto().'://cdn.c3voc.de'.joinpath(['/thumbnail', $this->getStream(), 'thumb.jpeg']); } public function getLink() { 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']); } } |