Add video title under post attachment box

This commit is contained in:
celestora 2023-01-28 00:28:28 +02:00
parent 63f302b2ab
commit da1bb1fcad
2 changed files with 4 additions and 0 deletions

View file

@ -11,6 +11,10 @@
{/if}
{elseif $attachment instanceof \openvk\Web\Models\Entities\Video}
<video class="media" src="{$attachment->getURL()}" controls="controls"></video>
<div class="video-wowzer">
<img src="/assets/packages/static/openvk/img/videoico.png" />
<a href="/video{$attachment->getPrettyId()}">{$attachment->getName()}</a>
</div>
{elseif $attachment instanceof \openvk\Web\Models\Entities\Poll}
{presenter "openvk!Poll->view", $attachment->getId()}
{elseif $attachment instanceof \openvk\Web\Models\Entities\Post}

BIN
Web/static/img/videoico.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 B