1
0
Fork 0
friendica_2020-09-1_sharedH.../view/templates/video_top.tpl
2018-01-22 20:45:42 -05:00

13 lines
515 B
Smarty

<div class="video-top-wrapper lframe" id="video-top-wrapper-{{$video.id}}">
{{* set preloading to none to lessen the load on the server *}}
<video controls preload="none" data-setup="" width="100%" height="auto">
<source src="{{$video.src}}" type="{{$video.mime}}" />
</video>
{{if $delete_url }}
<form method="post" action="{{$delete_url}}">
<input type="submit" name="delete" value="X" class="video-delete"></input>
<input type="hidden" name="id" value="{{$video.id}}"></input>
</form>
{{/if}}
</div>