Skip to content

Commit

Permalink
trying to get preview to work on ios
Browse files Browse the repository at this point in the history
  • Loading branch information
luis-marques committed Sep 8, 2024
1 parent 7447aa7 commit 63ea15e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/shortcodes/figure.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<figure>
{% endif %}
{% if item is ending_with('.mp4') %}
<video {% if dark_invert[loop.index0] %}class="dark-invert" {% endif %}{{ source_attributes[loop.index0] | default(value='controls') }}>
<video {% if dark_invert[loop.index0] %}class="dark-invert" {% endif %}{{ source_attributes[loop.index0] | default(value='controls') }} preload="metadata">
<source src="{{ item | safe }}" type="video/mp4">
</video>
{% else %}
Expand Down

0 comments on commit 63ea15e

Please sign in to comment.