speed up review process

This commit is contained in:
2026-05-23 13:01:14 +02:00
parent fcfe73178b
commit aebb20b37f
2 changed files with 3 additions and 3 deletions

View File

@@ -21,7 +21,7 @@
@each(pending as post) @each(pending as post)
<tr> <tr>
<td> <td>
<video controls loop muted preload="metadata" style="max-height: 200px; max-width: 300px;"> <video controls loop muted preload="none" style="max-height: 200px; max-width: 300px;">
<source src="/b/{{ post.dest }}" type="{{ post.mime }}"> <source src="/b/{{ post.dest }}" type="{{ post.mime }}">
</video> </video>
</td> </td>

View File

@@ -18,7 +18,7 @@
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/{!! post.dest.replace('yt:', '') !!}" frameborder="0" allowfullscreen></iframe> <iframe class="embed-responsive-item" src="https://www.youtube.com/embed/{!! post.dest.replace('yt:', '') !!}" frameborder="0" allowfullscreen></iframe>
</div> </div>
@elseif(post.mime.startsWith('video')) @elseif(post.mime.startsWith('video'))
<video controls loop muted preload="metadata"> <video controls loop muted preload="none" poster="/mod/pending/t/{!! post.id !!}.webp">
<source src="/mod/pending/b/{!! post.dest !!}" type="{!! post.mime !!}"> <source src="/mod/pending/b/{!! post.dest !!}" type="{!! post.mime !!}">
Your browser does not support the video tag. Your browser does not support the video tag.
</video> </video>
@@ -69,7 +69,7 @@
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/{!! post.dest.replace('yt:', '') !!}" frameborder="0" allowfullscreen></iframe> <iframe class="embed-responsive-item" src="https://www.youtube.com/embed/{!! post.dest.replace('yt:', '') !!}" frameborder="0" allowfullscreen></iframe>
</div> </div>
@elseif(post.mime.startsWith('video')) @elseif(post.mime.startsWith('video'))
<video controls loop muted preload="metadata"> <video controls loop muted preload="none" poster="/mod/deleted/t/{!! post.id !!}.webp">
<source src="/mod/deleted/b/{!! post.dest !!}" type="{!! post.mime !!}"> <source src="/mod/deleted/b/{!! post.dest !!}" type="{!! post.mime !!}">
Your browser does not support the video tag. Your browser does not support the video tag.
</video> </video>