25 lines
476 B
PHTML
25 lines
476 B
PHTML
|
<div class="3d-model-wrap" style="position:relative;">
|
||
|
|
||
|
<?php
|
||
|
$this->headLink()->appendStylesheet($this->assetUrl('css/peertube-video.css',
|
||
|
'PeertubeVideo'));
|
||
|
?>
|
||
|
<style>
|
||
|
#<?= $id ?> {
|
||
|
height: <?= $height ?>px;
|
||
|
width: <?= $width ?>px;
|
||
|
}
|
||
|
</style>
|
||
|
|
||
|
<div class="3d-model-wrap">
|
||
|
|
||
|
<iframe
|
||
|
id="<?= $id ?>"
|
||
|
sandbox="allow-same-origin allow-scripts allow-popups"
|
||
|
src="<?= $url ?>"
|
||
|
frameborder="0"
|
||
|
allowfullscreen>
|
||
|
</iframe>
|
||
|
|
||
|
</div>
|