Fixed video dimensions
This commit is contained in:
parent
02be024bc4
commit
74b2f935c3
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@
|
||||||
|
|
||||||
<?php elseif ($post->type == PostType::Video): ?>
|
<?php elseif ($post->type == PostType::Video): ?>
|
||||||
|
|
||||||
<video style="width: <?= $post->imageWidth ?>px; height: <?= $post->imageHeight ?>px" controls>
|
<video style="max-width: 100%" controls>
|
||||||
<source type="<?= $post->mimeType ?>" src="<?= \Chibi\UrlHelper::route('post', 'retrieve', ['name' => $post->name]) ?>">
|
<source type="<?= $post->mimeType ?>" src="<?= \Chibi\UrlHelper::route('post', 'retrieve', ['name' => $post->name]) ?>">
|
||||||
Your browser doesn't support HTML5 <video> tag.
|
Your browser doesn't support HTML5 <video> tag.
|
||||||
</video>
|
</video>
|
||||||
|
|
Loading…
Reference in a new issue