2024-08-24 18:23:27 +00:00
|
|
|
{{*
|
|
|
|
* Copyright (C) 2010-2024, the Friendica project
|
|
|
|
* SPDX-FileCopyrightText: 2010-2024 the Friendica project
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
*}}
|
2013-05-04 00:17:56 +00:00
|
|
|
<div class="video-top-wrapper lframe" id="video-top-wrapper-{{$video.id}}">
|
2013-05-11 18:40:09 +00:00
|
|
|
{{* set preloading to none to lessen the load on the server *}}
|
2024-05-10 05:42:45 +00:00
|
|
|
<video src="{{$video.src}}" controls {{if $video.preview}}preload="none" poster="{{$video.preview}}" {else}preload="metadata" {{/if}}width="{{$video.width}}" height="{{$video.height}}" title="{{$video.description}}">
|
2021-04-28 19:05:46 +00:00
|
|
|
<a href="{{$video.src}}">{{$video.name}}</a>
|
2013-05-04 00:17:56 +00:00
|
|
|
</video>
|
|
|
|
|
2018-01-23 01:45:42 +00:00
|
|
|
{{if $delete_url }}
|
|
|
|
<form method="post" action="{{$delete_url}}">
|
2015-05-23 20:51:34 +00:00
|
|
|
<input type="submit" name="delete" value="X" class="video-delete"></input>
|
2015-05-23 20:35:02 +00:00
|
|
|
<input type="hidden" name="id" value="{{$video.id}}"></input>
|
2018-01-23 01:45:42 +00:00
|
|
|
</form>
|
|
|
|
{{/if}}
|
2013-05-04 00:17:56 +00:00
|
|
|
</div>
|