Merge pull request 'Added defer attribute to video tags so that it parallel loads.' (#7) from daball/nm3clol-express-app:main into main

Reviewed-on: nm3clol/nm3clol-express-app#7
This commit is contained in:
David Ball 2024-06-15 19:59:14 -04:00
commit d3a371f998

View File

@ -40,7 +40,7 @@
<%- h.printReadme({directory}) %> <%- h.printReadme({directory}) %>
<% }%> <% }%>
<h1 class="title"><%= (typeof info.title !== 'undefined') ? info.fulltitle : "" %></h1> <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)%>"> <source src="<%-encodeURI(videoURL)%>">
<track <track
label="English" label="English"