Fixed video dimensions

This commit is contained in:
Marcin Kurczewski 2014-04-08 17:09:13 +02:00
parent 02be024bc4
commit 74b2f935c3

View file

@ -26,7 +26,7 @@
<?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]) ?>">
Your browser doesn't support HTML5 &lt;video&gt; tag.
</video>