Split nameAndExtension to seperate variables
This commit is contained in:
parent
02734f1d9d
commit
234791cd9a
5 changed files with 40 additions and 40 deletions
|
@ -23,8 +23,8 @@ const imageExtensions = ['.jpg', '.jpeg', '.png', '.gif', '.bmp', '.svg', '.tiff
|
|||
|
||||
<!-- Hidden video container to be displayed later -->
|
||||
<div class="video">
|
||||
<video id="video-<%= file.path %>" class="image" autoplay loop muted playsinline loading="lazy" style="display: none;">
|
||||
<source src="/uploads/720p-<%= file.path %>" loading="lazy">
|
||||
<video id="video-<%= file.path %>" class="image" autoplay loop muted playsinline style="display: none;">
|
||||
<source src="/uploads/720p-<%= file.path %>">
|
||||
</video>
|
||||
<div class="overlay">
|
||||
<% if(user.username == "admin" && file.username != "admin") { %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue