Archive.org-omeka-module/view/common/block-layout/archiveOrg.phtml

44 lines
766 B
PHTML
Raw Normal View History

2021-04-17 19:13:22 +02:00
<div class="pannemmul-wrap" style="position:relative;">
<?php
if ($title !== false && $title !== "") {
$title = sprintf('<p id="panorama-viewer-title">%s</p>', $title);
} else {
$title = false;
}
?>
<style>
#<?= $id ?> {
height: <?= $height ?>px;
width: <?= $width ?>px;
}
</style>
<div class="pannellum-wrap">
<?php if ($media_type == "video") { ?>
<iframe
id="<?= $id ?>"
src="<?= $url ?>"
frameborder="0"
webkitallowfullscreen="true"
mozallowfullscreen="true"
allowfullscreen >;
</iframe>
<?php } ?>
<?php if ($media_type == "audio") { ?>
<iframe
src="<?= $url ?>"
frameborder="0"
webkitallowfullscreen="true"
mozallowfullscreen="true"
allowfullscreen >;
</iframe>
<?php } ?>
</div>