aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Fuhse <fuhse@data-quest.de>2023-07-17 10:49:38 +0000
committerRasmus Fuhse <fuhse@data-quest.de>2023-07-17 10:49:38 +0000
commit8569bea9b92645dba95811049f245e574354cb1e (patch)
tree7284e8ec7ebbeb1eafd93fe4ca0b046ac507a256
parent6f56f68447351021fd48d37fbf22c0ff7e896f3f (diff)
Resolve "OER-Campus: Material wird nicht angezeigt"
Closes #2915 Merge request studip/studip!1969
-rw-r--r--app/views/oer/market/details.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/oer/market/details.php b/app/views/oer/market/details.php
index dae12ba..4306465 100644
--- a/app/views/oer/market/details.php
+++ b/app/views/oer/market/details.php
@@ -29,6 +29,9 @@
<iframe src="<?= htmlReady($url) ?>"
class="lernmarktplatz_player"></iframe>
<? endif ?>
+<? elseif ($material->isImage()) : ?>
+ <img src="<?= htmlReady($url) ?>"
+ class="lernmarktplatz_player">
<? elseif ($material['front_image_content_type']) : ?>
<div style="background-image: url('<?= htmlReady($material->getLogoURL()) ?>');" class="lernmarktplatz_player image"></div>
<? endif ?>