42 lines
742 B
PHTML
42 lines
742 B
PHTML
<div class="archive_org-wrap" style="position:relative;">
|
|
|
|
<?php if ($renderSourceLink) { ?>
|
|
<div class="source-link">
|
|
<a href="<?= $item_url ?>">Source</a>
|
|
</div>
|
|
<?php } ?>
|
|
|
|
<?php
|
|
if ($title !== false && $title !== "") {
|
|
$title = sprintf('<p id="achive_org_media-title">%s</p>', $title);
|
|
} else {
|
|
$title = false;
|
|
}
|
|
?>
|
|
|
|
<?php if ($media_type != "audio") { ?>
|
|
<style>
|
|
#<?= $id ?> {
|
|
height: <?= $height ?>px;
|
|
width: <?= $width ?>px;
|
|
}
|
|
</style>
|
|
<?php } ?>
|
|
|
|
<iframe
|
|
id="<?= $id ?>"
|
|
src="<?= $url ?>"
|
|
frameborder="0"
|
|
webkitallowfullscreen="true"
|
|
mozallowfullscreen="true"
|
|
allowfullscreen >
|
|
</iframe>
|
|
|
|
<?php if ($title) { ?>
|
|
<div class="item_title">
|
|
<?= $title ?>
|
|
</div>
|
|
<?php } ?>
|
|
|
|
</div>
|