Added defer attribute to video tags so that it parallel loads.

This commit is contained in:
David Ball 2024-06-15 19:58:16 -04:00
parent ba7d50f495
commit 07bc443a66

View File

@ -40,7 +40,7 @@
<%- h.printReadme({directory}) %>
<% }%>
<h1 class="title"><%= (typeof info.title !== 'undefined') ? info.fulltitle : "" %></h1>
<video class="object-fit-fill ratio ratio-16x9" controls allowfullscreen>
<video class="object-fit-fill ratio ratio-16x9" defer controls allowfullscreen>
<source src="<%-encodeURI(videoURL)%>">
<track
label="English"