on master help sign in
add video poster image
commit6ab95e57baf91bd6414e9ced9e93e0175a283aee authorGavin Atkinson <gvnatknsn@protonmail.com> dateMon 14 Oct 2019, 12:34 (7 years ago) parentd819a08
2 files changed+10−5
templates/base.html+1−1 templates/index.html+9−4
templates/base.html+1−1
@@ -24,7 +24,7 @@
2424 <style type="text/css">
2525 /* Mailchimp style overrides */
2626 #mc_embed_signup{clear:left; width:100%;}
27− /* {% block templatestyles %} {% endblock templatestyles%} */
27+ {% block templatestyles %} {% endblock templatestyles%}
2828 </style>
2929 <link rel="stylesheet" href="/indigo.css">
3030 <link rel="stylesheet" href="/styles.css">
templates/index.html+9−4
@@ -1,8 +1,7 @@
11{% extends "base.html" %}
22<!--External links are differentiated on home page.-->
33{% block templatestyles %}
4−<!-- a[href*="//"]:not([href*="{{config.base_url | safe}}"])::after {
5−content: " ↗"; -->
4+
65}
76{% endblock templatestyles %}
87{% block bodyclasses %}class="index"{% endblock bodyclasses %}
@@ -12,11 +11,17 @@ content: " ↗"; -->
1211{% block content %}
1312
1413<section class="full p0 vid-insert-wrap full-bleed">
15− <video class="vid-insert bg-black" autoplay muted loop>
14+ <video
15+ class="vid-insert bg-black"
16+ autoplay
17+ muted
18+ loop
19+ playsinline
20+ poster="https://storage.cloud.google.com/media.urbit.org/site/sea30-poster.png">
1621 <source
1722 src="https://storage.googleapis.com/media.urbit.org/site/sea30-1440.mp4"
1823 type="video/mp4"/>
19− Your browser does not support the video tag.
24+ Your browser does not support the video tag.
2025 </video>
2126
2227 <div class="grid12" style="height: 100%; width:100%;">