2013-05-03 20:17:56 -04:00
|
|
|
<div class="video-top-wrapper lframe" id="video-top-wrapper-{{$video.id}}">
|
2013-05-11 14:40:09 -04:00
|
|
|
{{* set preloading to none to lessen the load on the server *}}
|
2024-03-05 16:25:00 -05:00
|
|
|
<video src="{{$video.src}}" controls {{if $video.preview}}preload="none" poster="{{$video.preview}}" {else}preload="metadata" {{/if}}width="{{$video.width}}" height="{{$video.height}}">
|
2021-04-28 15:05:46 -04:00
|
|
|
<a href="{{$video.src}}">{{$video.name}}</a>
|
2013-05-03 20:17:56 -04:00
|
|
|
</video>
|
|
|
|
|
2018-01-22 20:45:42 -05:00
|
|
|
{{if $delete_url }}
|
|
|
|
<form method="post" action="{{$delete_url}}">
|
2015-05-23 16:51:34 -04:00
|
|
|
<input type="submit" name="delete" value="X" class="video-delete"></input>
|
2015-05-23 16:35:02 -04:00
|
|
|
<input type="hidden" name="id" value="{{$video.id}}"></input>
|
2018-01-22 20:45:42 -05:00
|
|
|
</form>
|
|
|
|
{{/if}}
|
2013-05-03 20:17:56 -04:00
|
|
|
</div>
|